Payment processing with adaptive pricing in classic checkout#5019
Open
Mayisha wants to merge 20 commits intoadd/adaptive-pricing-in-classic-checkout-2from
Open
Conversation
This reverts commit 0d0c7e9.
…yment-processing-with-adaptive-pricing-in-classic-checkout
…yment-processing-with-adaptive-pricing-in-classic-checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Towards STRIPE-919
Changes proposed in this Pull Request:
Testing instructions
Add the following filter to allow adaptive pricing and checkout session in your store-
add_filter('wc_stripe_is_checkout_sessions_available', '__return_true');Connect to a US Stripe account.
Enable OCS in the Stripe settings page.
Enable adaptive pricing under the OCS settings.
Enable card and a couple more payment methods.
Reconfigure the webhooks.
As a logged in shopper, add a product to your cart and go to the checkout page. (shopper must be logged in)
Verify that, the currency selector is displayed and the available currencies are USD and your local currency.
Select your local currency and pay with card.
As an admin, verify that the order is successful and the transaction details are present.
Covered with tests (or have a good reason not to test in description ☝️)
Tested on mobile (or does not apply)
Changelog entry
Changelog Entry Comment
Comment
Post merge