Skip to content

Commit

Permalink
fix wrong Param-Name
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Oct 17, 2023
1 parent 346bf2f commit bfc9280
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.3.3] - 2023-??-??

- [0007549](https://bugs.oxid-esales.com/view.php?id=7549): Optional field in shop admin -> refund "Note to buyer" is transmitted to PayPal

## [2.3.2] - 2023-10-05

- [0007537](https://bugs.oxid-esales.com/view.php?id=7537): Show PayNow-Button on PP-Standard instead of Continue-Button
Expand Down
2 changes: 1 addition & 1 deletion metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'en' => 'Use of the online payment service from PayPal. Documentation: <a href="https://docs.oxid-esales.com/modules/paypal-checkout/en/latest/" target="_blank">PayPal Checkout</a>'
],
'thumbnail' => 'out/img/paypal.png',
'version' => '2.3.2',
'version' => '2.3.3-rc.1',
'author' => 'OXID eSales AG',
'url' => 'https://www.oxid-esales.com',
'email' => 'info@oxid-esales.com',
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Admin/PayPalOrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function refund(): void
$refundAmount = preg_replace("/[\,\.](\d{3})/", "$1", $refundAmount);
$invoiceId = $request->getRequestEscapedParameter('invoiceId');
$refundAll = $request->getRequestEscapedParameter('refundAll');
$noteToPayer = $request->getRequestParameter('noteToPayer');
$noteToPayer = $request->getRequestEscapedParameter('noteToPayer');

/** @var Order $order */
$order = $this->getOrder();
Expand Down
2 changes: 1 addition & 1 deletion views/admin/tpl/oscpaypalorder.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
</tr>
<tr>
<td><label for="noteToBuyer">[{oxmultilang ident="OSC_PAYPAL_NOTE_TO_BUYER"}]</label></td>
<td><textarea id="noteToBuyer" name="noteToBuyer" maxlength="255"></textarea></td>
<td><textarea id="noteToPayer" name="noteToPayer" maxlength="255"></textarea></td>
</tr>
<tr>
<td><label for="refundAll">[{oxmultilang ident="OSC_PAYPAL_REFUND_ALL"}]</label></td>
Expand Down

0 comments on commit bfc9280

Please sign in to comment.