#hrueger

1 messages ยท Page 1 of 1 (latest)

grizzled shardBOT
thorny hazel
sweet steeple
#

I'd really like to, however, as I said, this is not possible if the Stripe Creditor ID is used...
The Docs say:

When processing SEPA Direct Debit payments using the Stripe Creditor ID, debit notification emails are always sent automatically by Stripe.

thorny hazel
#

Yep, you can't disable the automatic ones

sweet steeple
#

OK, so I need to create a customer object first, set the locale there and then pass that to the checkout session?

thorny hazel
#

Is Checkout currently creating your Customer objects for you?

sweet steeple
#

Not sure, I'm just passing customer_email

thorny hazel
#

Can you share an example cus_xxx?

grizzled shardBOT
sweet steeple
#

Ah, I didn't know that. We haven't been setting locale so far, because the autodetect from the browser locale was working just fine. That probably solves the issue.

thorny hazel
#

Yeah it should inherit automatically from the browser/system. If you share an example, I can check

sweet steeple
#

Thanks, let me find one

#

I can't find any customers there, the dashboard shows this. Probably because we're not creating any?

thorny hazel
#

Hmm, are you just processing one-time payments? Sorry I just assumed recurring/subscriptions

#

Can you share a cs_xxx ID?

sweet steeple
#

Sure
cs_live_a165OXFuKjArp8YuGQ3jwzBXFtQbfkN809AGlb1L3VZYvVMimGUHQ99ZNc

#

locale is set to null in the cs object, so it will probably work if I set it to de

thorny hazel
#

Ok, so in mode: 'payment' sessions Checkout won't create Customer objects by default (customer_creation: 'if_required'). My assumption is that because of that any emails sent to the customer will not be localised

sweet steeple
#

OK, I'll try that! Thanks

thorny hazel
#

I'm not sure about that though, you'd need to test. I know it works for invoice/receipts, but not sure about the SEPA notifications

sweet steeple
#

It won't fail if someone with that email / card number has purchased something before, will it? Like if there were duplicate customer objects then

sweet steeple
thorny hazel
#

We don't de-deuplicate based on emails, no. Expectation would be that your persist that cus_xxx alongside your internal user/customer record and then it can be re-used for future purchases

sweet steeple
#

OK, currently we don't have customers, everything as guest. But I'll keep that in mind. Thanks

#

And then I have one more question:
Can I set the Creditor ID when creating an account? I'm using stripe.accounts.create. I can see that the account object as a field called settings.sepa_debit_payments.creditor_id but I can't find any documentation on how to set it. In stripe.accounts.create this is not available.

thorny hazel
#

Yeah I think that's only editable via the Dashboard

#

The field on the Account object is read-only

sweet steeple
#

OK, thanks.