#b33fb0n3

1 messages · Page 1 of 1 (latest)

topaz ibexBOT
deep raft
#

Hi there!

#

Can you share the PaymentIntent ID (pi_xxx)? Aso clarify exactly which other payment method you were expecting to see?

outer scarab
#

the paymentintent isn't created before the confirmation. So I don't have a paymentintent. I would like to see all the cardpayments, apple pay, google pay, link, wechat, blink, bancontact, eps, giropay, ideal, przelawy25, sofort, klarna and sepa

deep raft
#

But could you in test mode complete the payment, and then share the PaymentIntent ID with me?

#

Or even better: do you have a link were I can reproduce the issue?

outer scarab
outer scarab
deep raft
#

Thanks! Give me a few minutes to look into this.

clear glade
#

Can you share the code you're using to initialise the Elements object? Which parameters you're passing, etc

clear glade
#

Can you share a screenshot of the Payment Element?

outer scarab
clear glade
#

Hmm somethings seems off here

outer scarab
#

what else do you need from me? 🙂

clear glade
#

You can see the available payment methods on the PI you shared earlier. If that was confirmed with the same Payment Element then those should be offered

outer scarab
#

they should. But at the moment I took the screenshot, the payment intent isn't created. So the payment elements doesn't know which payment methods are there

outer scarab
clear glade
#

Can you check your network tab for a request to https://api.stripe.com/v1/elements/sessions

#

And share the response please

#

Also what is the value of defaultPrice?

outer scarab
clear glade
#

Nothing sensitive in that response (it's in your browser console after all)

outer scarab
clear glade
#

You can see ideal is the only PM returned:

"ordered_payment_method_types_and_wallets": [
    "ideal"
  ],
outer scarab
#

where can I change that?

clear glade
#

You can't directly, it's automatically calculated. Just not sure why it's omitting everything else

#

Can you log defaultPrice for me? I think it might be too small when you initialise the Elements instance

#

Like, is it 7 for €7 or 700 for €7?

#

Because you parse it later in your code when you create the PI.

#

it needs to be an integer in the lowest currency unit (i.e. cents)

outer scarab
clear glade
#

So I would guess that the other PM types are being omitted because that value is too low to be used as a payment? Not sure why iDEAL is still shown in that regard (maybe that's the real bug here)

outer scarab
#

yeah, I entered the 7 as amount and not 700. Inside my server endpoint I multiple the 7 with 100, but not on client side. Thanks a lot! ❤️

clear glade
#

np, let me see if this is a bug and I'll raise internally

outer scarab
#

for sure. Do you need something from me?

clear glade
#

Nope all good!