Skip to content

Commit

Permalink
Remove duplicated cancel_return attribute issueing PayPal request
Browse files Browse the repository at this point in the history
  • Loading branch information
palosopko committed Mar 8, 2020
1 parent 09c339d commit 58da1cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### v0.19.3

Force using HTTP 1.1 with PayPal IPN validation to conform to PayPal's [security guidelines and best practices](https://developer.paypal.com/docs/api/info-security-guidelines/) ([igor-kamil](https://github.com/igor-kamil)).
Force using HTTP 1.1 with PayPal IPN validation to conform to PayPal's [security guidelines and best practices](https://developer.paypal.com/docs/api/info-security-guidelines/) and removed duplicated `cancel_return` attribute when issuing PayPal payment request ([igor-kamil](https://github.com/igor-kamil)).

### v0.19.2: 2019/07/11

Expand Down
5 changes: 2 additions & 3 deletions src/Chaching/Drivers/PayPal/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ public function __construct(Array $authorization, Array $attributes, Array $opti
$this->optional_fields = [
'no_note', 'no_shipping', 'shipping', 'address_override',
'cancel_return', 'email', 'first_name', 'last_name', 'address1',
'zip', 'city', 'country', 'address_override', 'cancel_return',
'notify_url', 'cpp_logo_image', 'cpp_cart_border_color', 'lc',
'page_style'
'zip', 'city', 'country', 'address_override', 'notify_url',
'cpp_logo_image', 'cpp_cart_border_color', 'lc', 'page_style'
];

$this->field_map = [
Expand Down

0 comments on commit 58da1cf

Please sign in to comment.