#meisei81

1 messages · Page 1 of 1 (latest)

plain pathBOT
visual mantle
#

Is this PaymentElement?

valid sonnet
#

I get it from the checkout page

#

the customer has an address

#

so I don't know why there's a country selection

visual mantle
#

It's determined by Stripe Checkout that we want the customer to provide a country there. It's not customizable

valid sonnet
#

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.

visual mantle
#

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

valid sonnet
#

In the customer portal, there's only card type payment method to add.

visual mantle
#

Okie so do you mean Customer Portal instead of Checkout?

valid sonnet
#

yes

#

Also, we want to support non-card type payment method and using them to collect payments through stripe api instead of checkout page

visual mantle
#

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

valid sonnet
#

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"
}
}

visual mantle
#

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

valid sonnet
#

Wow there's a few works to do.

visual mantle
#

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