[x] Does your code follow the Extendables standards?
[ ] Have you written new tests for your changes, as applicable?
[x] Have you successfully run tests with your changes locally?
Changes proposed in this Pull Request:
Adds support for the Amazon Pay button in Product Pages.
Technical details
When the amazon pay button located in the product page is clicked an AJAX request is taking place which saves the active cart
in WooCommerce's session, empties current cart and adds only the selected product and finally provides the JS with required parameters for amazon to initiate the new checkout session.
When the checkout session is completed, the cart that was stored gets restored.
This PR should be reviewed and merger after #146.
Other information:
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changelog entry
Add - Support for Amazon Pay button on Product pages.
All Submissions:
Changes proposed in this Pull Request:
Adds support for the Amazon Pay button in Product Pages.
Technical details
When the amazon pay button located in the product page is clicked an AJAX request is taking place which saves the active cart in WooCommerce's session, empties current cart and adds only the selected product and finally provides the JS with required parameters for amazon to initiate the new checkout session.
When the checkout session is completed, the cart that was stored gets restored.
This PR should be reviewed and merger after #146.
Other information:
Changelog entry