You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \Exception('Notification Configuration List value ' . $configuration . ' is of type ' . gettype($configuration) . ' and should be an array value');
Copy file name to clipboardExpand all lines: CHANGES.txt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
3.6.0 - November 2019
2
+
- Add GetMerchantNotificationConfiguration API call
3
+
- Add SetMerchantNotificationConfiguration API call
4
+
1
5
3.5.0 - August 2019
2
6
- Added additional attributes (success_url, failure_url) to ConfirmBillingAgreement and (subscription_amount, currency_code) to SetBillingAgreement Details.. See Amazon Pay Strong Customer Authentication (SCA) Upgrade Integration Guide for more information.
Copy file name to clipboardExpand all lines: README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -299,7 +299,7 @@ See the [API Response](https://github.com/amzn/amazon-pay-sdk-php#api-response)
299
299
### IPN Handling
300
300
301
301
1. To receive IPN's successfully you will need an valid SSL on your domain.
302
-
2. You can set up your Notification endpoints in Seller Central by accessing the Integration Settings page in the Settings tab.
302
+
2. You can set up your Notification endpoints by either (a) using the Seller Central Integration Settings page Settings tab, or (b) by using the SetMerchantNotificationConfiguration API call.
303
303
3. IpnHandler.php class handles verification of the source and the data of the IPN
304
304
305
305
Add the below code into any file and set the URL to the file location in Merchant/Integrator URL by accessing Integration Settings page in the Settings tab.
@@ -320,6 +320,34 @@ $ipnHandler = new IpnHandler($headers, $body);
320
320
```
321
321
See the [IPN Response](https://github.com/amzn/amazon-pay-sdk-php#ipn-response) section for information on parsing the IPN response.
322
322
323
+
#### Setting notification endpoints using SetMerchantNotificationConfiguration API
324
+
325
+
```php
326
+
$client = new AmazonPay\Client($config);
327
+
328
+
// possible array values: ALL, ORDER_REFERENCE, PAYMENT_AUTHORIZE, PAYMENT_CAPTURE, PAYMENT_REFUND, BILLING_AGREEMENT, CHARGEBACK_DETAILED
0 commit comments