#fecabouffe

1 messages · Page 1 of 1 (latest)

magic starBOT
plucky quail
#

Hi there 👋 do you have a specific example from your testing that you can share, so I can take a closer look at what is going on?

orchid mason
#

Basicly, I just create my PM with Javascript :
stripe.createPaymentMethod('card', this.cardElement)

And then in my PHP backend, I do

    ->attach(['customer' => 'cus_xxxxx']);```

This trigger the error. But only with some credit cards, like cards from swedbank in Lithuania
plucky quail
#

Oh, you're still working with the Card Element. Is this a new integration that you're working on? If it's not already live, I would recommend a different flow for this.

orchid mason
#

No, it's a production flow we have since 3 years.
I wasn't able to reproduce it in test mode, with any test card