#Faizal

1 messages ยท Page 1 of 1 (latest)

crude fableBOT
onyx shoal
#

You can click into "Get instructions" to view the details

knotty basalt
#

It redirects to this page (https://stripe.com/docs/payments/payment-element/migration#one-time-payment-intent).
In the image below, we see that Stripe assumes us still using a separate element for the payment. But actually, we are using Stripe Elements and confirmPayment() from the start.

So. is that means... it is false alarm and we can ignore the message?

Learn how to migrate your existing integration with individual payment method Elements into a single Element.

onyx shoal
#

Um sorry for the unclear article

#

When you create a PaymentIntent, do you specify payment_method_types like this?

onyx shoal
#

๐Ÿ‘‹

knotty basalt
#

Hi there,
here's the code we use

onyx shoal
#

Okie, just this? No payment_method_types on payment_settings?

knotty basalt
#

no, do we need it?

onyx shoal
#

No, just confirming. If that's the case then you are not using payment_method_types on this flow. Is there any other flow you create Payment Intent, for example?

#

Can you provide you account id? acct_xxx

knotty basalt
#

here's my id acct_1KLPYtBBuNcFsmgM

onyx shoal
#

This is an example you used payment_method_types which I believe triggered the warning in Dashboard

#

You can check the link I pasted above and click on "Using automatic payment methods" to see how to resolve it

knotty basalt
#

from the description, it's stated that it's from "stripe.com/docs demo" so that means its not from our site, right?

#

sorry, but where do we see the "Using automatic payment methods"?

onyx shoal
#

Probably you created it by clicking around some button in our Doc ๐Ÿ™‚

onyx shoal
#
$stripe->paymentIntents->create(
  [
    'amount' => 5000,
    'currency' => 'usd',
    'automatic_payment_methods' => ['enabled' => true],
  ]
);
#

note the automatic_payment_methods parameters

knotty basalt
onyx shoal
#

Okie then I think you can well ignore the warning. It's there just because of some test payments

knotty basalt
#

I see, thanks for the assistance ๐Ÿ™‚ .