-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 7.5.0
Kristófer Reykjalín edited this page Apr 4, 2024
·
4 revisions
Make sure an actionable error is reported when trying to buy a subscription through Stripe Billing with a different currency from your active subscriptions
- Make sure your store is set up with a US-based address, otherwise the Stripe Billing option in (4) won't be available.
- Make sure you have WC Subscriptions installed on your test store.
- Make sure you have a subscription product available, a simple subscription is sufficient.
- Go to Payments → Settings, scroll down to Advanced Settings, and tick Enable Stripe Billing for future subscriptions.
![image](https://private-user-images.githubusercontent.com/13835680/319292231-fa569cee-9e18-452a-94ba-58e5ee14d04e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNDU4MzIsIm5iZiI6MTczOTA0NTUzMiwicGF0aCI6Ii8xMzgzNTY4MC8zMTkyOTIyMzEtZmE1NjljZWUtOWUxOC00NTJhLTk0YmEtNThlNWVlMTRkMDRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIwMTIxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBmOTYzMWFlMDU5OTUxOTRhMWJkYzAwYmRhZmYyMDIwYzJhZmMxOGUzNzg5YTYzNWE5MzlmZjgwYThmNDY5NTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZxPFw-9bDHgP_jruVw_5XSLyxwupJvRsJ41s_M3uudw)
- Go to Payments → Settings, scroll down to Advanced Settings, and tick Enable multi-currency.
![image](https://private-user-images.githubusercontent.com/13835680/319292670-f52a5f00-bf7b-4ba1-8257-cb12adb2fafe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNDU4MzIsIm5iZiI6MTczOTA0NTUzMiwicGF0aCI6Ii8xMzgzNTY4MC8zMTkyOTI2NzAtZjUyYTVmMDAtYmY3Yi00YmExLTgyNTctY2IxMmFkYjJmYWZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIwMTIxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzMTg4MTU2MTlkNDQwOWQxNTA0OTE5NjFiZjM2ZDFmZjg2OGU5ODZmNWE4YTBmYTVlZjZmNTdhMmYxZDQ5YmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b0_9EJPutQsqJKCr0olDKQSAJDpUiAnLBPDhuYiOoJU)
- Go to WooCommerce → Settings → Multi-Currency and add at least 2 currencies (e.g. USD and EUR).
- Add a subscription product to your cart, and checkout with any card,
4242 4242 4242 4242
is sufficient. - The checkout should succeed.
- Change the currency.
- You can do this either by using the currency switching widget if you're using the Storefront theme or by visiting any store page with
?currency=<currency_code>
, e.g.?currency=EUR
.
- You can do this either by using the currency switching widget if you're using the Storefront theme or by visiting any store page with
- Add the same subscription product to your cart and checkout with any card, e.g. the card that was saved after checking out in (1).
- Make sure the error message informs the customer that they must use the same currency as their other active subscriptions:
![image](https://private-user-images.githubusercontent.com/13835680/319293875-6cda32d7-6dca-45b1-9316-f73b3a7a2f14.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNDU4MzIsIm5iZiI6MTczOTA0NTUzMiwicGF0aCI6Ii8xMzgzNTY4MC8zMTkyOTM4NzUtNmNkYTMyZDctNmRjYS00NWIxLTkzMTYtZjczYjNhN2EyZjE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIwMTIxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwZDM5MGMxMmNjNTk5MTc0NGYxNWFkN2UzYmY5ZDBiNzU5ZjcwNjUxNTNhYjU5Y2RhYzk3YjM1NTI3ZTQ1ZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7B_tOFR9ep3SLmnCMxQJx_sROu1aPDSTeL8x5VdW5Vg)