Skip to content

Release testing instructions for WC Payments 2.2.0

Ricardo Metring edited this page Mar 23, 2021 · 3 revisions

Testing for Payment Request Buttons feature

Payment Request Buttons allows merchants to purchase products from product or cart pages with Apple Pay/Google Pay without going into checkout page.

Prerequisites for testing the Payment Request Button in Chrome

  • 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 the wp_options table to yes. Or use the following snippet: update_option( '_wcpay_feature_payment_request', 'yes' ); in the Code Snippet plugin.
  • Once you have the _wcpay_feature_payment_request option set to yes, 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.

Testing instructions for basic scenarios

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.
Clone this wiki locally