saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

Fix order validation of rest routes #193

Closed dpanta94 closed 1 year ago

dpanta94 commented 1 year ago

All Submissions:

Changes proposed in this Pull Request:

Closes # .

How to test the changes in this Pull Request:

  1. Rest routes registered in includes/class-wc-amazon-payments-advanced-rest-api-controller.php by WC_Amazon_Payments_Advanced_REST_API_Controller::register_routes should function as expected and correctly identifing if the provided order id refers to an actual order completed through Amazon Pay

Other information:

Changelog entry

Fix - Order Validation on Rest Routes

dpanta94 commented 1 year ago

@gen4ik-saucal pushed one more commit here regarding 2 notices QA found. Could you have a look please ?

dpanta94 commented 1 year ago

Accetped in woo repo