saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

Fixes error for merchants not yet migrated to v2 amazon keys #185

Closed dpanta94 closed 1 year ago

dpanta94 commented 1 year ago

All Submissions:

Changes proposed in this Pull Request:

We won't load the Express Gateway for merchants not yet migrated to V2 Amazon Keys and the FE is going to reflect that.

Closes woo#225 .

How to test the changes in this Pull Request:

  1. While using V2 keys of Amazon and WooCommerce Blocks, Amazon Express should appear in the cart and checkout blocks.
  2. While using V1 keys of Amazon and WooCommerce Blocks, Amazon Express shoud not appear in the cart and checkout blocks.
  3. WHile using V1 keys of Amazon and WooCommerce Blocks, classic gateway should not be present.
  4. While using V1 keys of Amazon and WooCommerce Blocks, no error should be thrown.

Other information:

Changelog entry

Fix - Error for merchants still using V1 Amazon Keys

dpanta94 commented 1 year ago

@gen4ik-saucal have one more commit for review here! Thank you!

dpanta94 commented 1 year ago

@gen4ik-saucal there is one more commit here. Please check it when possible, thank you!

dpanta94 commented 1 year ago

Opened PR in woo repo pull#240