saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

fix alexa's request format #192

Closed dpanta94 closed 1 year ago

dpanta94 commented 1 year ago

All Submissions:

Changes proposed in this Pull Request:

How to test the changes in this Pull Request:

  1. In sandobx mode you can in your code the below: do_action( 'woocommerce_amazon_pa_enable_alexa_notifications', 'ANYTHING_AS_TRACKING_NUMBER', 'VALID_AMAZON_CARRIER_CODE', (int) VALID_ORDER_ID_PAYED_WITH_AMAZON );

You can find a list of valid amazon carrier codes here

  1. You should see an entry in the amazon log under woocommerce > status > logs about the result of the delivery notification
  2. The alexa delivery notification request should return a 200 status response to be succesful

Other information:

Changelog entry

FIX - Alexa delivery notification request format

dpanta94 commented 1 year ago

Opened PR in woo repo, pull#243