#meisei81
1 messages · Page 1 of 1 (latest)
Is this PaymentElement?
I get it from the checkout page
the customer has an address
so I don't know why there's a country selection
It's determined by Stripe Checkout that we want the customer to provide a country there. It's not customizable
In test mode, I choose a country which is different from the one in the customer
And I can't see any address' change after I completed the checkout flow.
It looks like useless
Another question, can I add non-card type payment method to pay the invoice? Our system collects the payment monthly without using stripe's subscription feature and we want to research that whether we can use non-card type payment method such like bancontact or else.
Re: the first question, it's probably for Checkout to validate and verify the card, it's kind of inside Checkout
Re: the latter question, yes we support a lot of other payment methods including Bancontact. You can enable it in Checkout
In the customer portal, there's only card type payment method to add.
Okie so do you mean Customer Portal instead of Checkout?
yes
Also, we want to support non-card type payment method and using them to collect payments through stripe api instead of checkout page
So Customer Portal might be limited on the acceptable Payment Method. In contrast Checkout and PaymentElement has a lot better support
You can accept a lot of Payment Methods via PaymentElements, which is non-Checkout, yes
Can I use the payment method filled in on the checkout page as the customer's default payment method?
I created a bancontact payment method and tried to attach to a customer, but got this error: {
"error": {
"message": "PaymentMethods of type 'bancontact' cannot be saved to customers.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_TZboP3yoLPvmGf?t=1692245193",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes because bancontact is only for the first time and next time you will have a generated sepa debit pm instead to use it onward
The flow is here https://stripe.com/docs/payments/bancontact/set-up-payment
Wow there's a few works to do.
How about this question?
When you received the webhook event checkout_session.completed, you can take the used Payment Method and save as the customer's invoice_settings.default_payment_method