-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 2.2.0
Ricardo Metring edited this page Mar 22, 2021
·
3 revisions
Payment Request Buttons allows merchants to purchase products from product or cart pages with Apple Pay/Google Pay without going into checkout page.
- WooCommerce Payments 2.1.0 or later is installed.
- The store is accessible via public HTTPS URL.
- A credit card added to chrome://settings/payments. It can be a Stripe test card: 4242 4242 4242 4242, any cardholder name, valid expiration date and CVV will work.
- Set
_wcpay_feature_payment_request
option in thewp_options
table toyes
. Or place the following snippet in your theme functions.php (Under Appearance > Theme Editor):update_option( '_wcpay_feature_payment_request', 'yes' );
. - Once you have the
_wcpay_feature_payment_request
option set toyes
, you should be able to see a "Payment Request Button" setting under WooCommerce > Settings > Payments > WooCommerce Payments. Make sure it's enabled, so you can test the scenarios below.
Scenario #1
- Go to product page and select product options (quantity and other params if required by product).
- Click
Pay now
button. - Pick saved card from Chrome payment UI.
- Order should be completed successfully.
Scenario #2
- Add several products to cart and go the cart page.
- Adjust cart settings if needed.
- Click
Pay now
button. - Pick saved card from Chrome payment UI.
- Order should be completed successfully.