#gpratte
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- gratte-idepmotency-afterpay, 4 days ago, 45 messages
Hi
Afterpay is supported for both Canadian and UK customers, so this will work in both test/prod: https://stripe.com/docs/payments/afterpay-clearpay
make sense, however my understanding is that ClearPay only accepts domestic customers
so if the account it UK-based, will it accept Canadian customers?
Ah yes you are correct, sorry.
We actually do call this out:
Afterpay and Clearpay only support domestic transactions, meaning you can only sell to customers in the same country as your business. If you’re using dynamic payment methods, Stripe handles a customer’s payment method eligibility automatically. If you use payment_method_types, you must either configure your integration so that it only presents Afterpay and Clearpay to eligible customers, or use dynamic payment methods.
So since you are specifying payment_method_types here that is why you see it as available, but indeed the transaction would fail.
ok I see, so if I would not specify payment_method_types then Stripe would dynamically offer ClearPay only to UK customers?
Yep
ok I will try this out. thanks!
👍
I have tested, and was able to proceed with a Canadian shipping address anyway. See session: cs_test_a1NKJIA4RJsntEzxqOTFpijfCtH9SBnmNWgV91uLWhlXL3Tt5di1JyDrNR
The "Pay" button is active, even though I have an UK account and entered a Canadian address.
Could you verify the parameters I provided to the Checkout Session, see if I'm missing something?
In your call I see
allowed_countries: {
0: "CA",
1: "GB",
},
},```
So I am wondering if that also overrides this
ok I will try without
by not providing shipping_address_collection ClearPay is no longer offered: cs_test_a1T3LowVqm2Z6nBMQ5NmyYtQuTP3jbKwLKQ1WrpUYic1pcGcN221JI7qKZ
Apologies I am still having trouble finding info on how this works. Will get back to you with what I can find
Hello! I'm taking over and catching up...
As I understand it ClearPay availability is going to be based on the customer's location/billing address, not their shipping address.
So I wouldn't expect a shipping address in a different country to impact the availability of ClearPay.
that's important information!
Let's take cs_test_a1dvC9AholoyZ7oSi5ZpJuLJXIlZmvbcddZ7IYZDI35RWkPiQvlXLM1yTZ as an example; if I provide a Canadian address and inform that the billing address is the same as the shipping address, Stripe Checkout let me proceed to the AfterPay sandbox when clicking on the Buy button. I would otherwise expect Checkout to refuse proceeding.
Is this an issue with the data I provide to the Checkout Session, or is this an issue with Stripe Checkout itself?
I'm not sure, let me investigate...