#Faizal
1 messages ยท Page 1 of 1 (latest)
You can click into "Get instructions" to view the details
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?
Um sorry for the unclear article
When you create a PaymentIntent, do you specify payment_method_types like this?
๐
Hi there,
here's the code we use
Okie, just this? No payment_method_types on payment_settings?
no, do we need it?
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
here's my id acct_1KLPYtBBuNcFsmgM
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
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"?
Probably you created it by clicking around some button in our Doc ๐
This part
$stripe->paymentIntents->create(
[
'amount' => 5000,
'currency' => 'usd',
'automatic_payment_methods' => ['enabled' => true],
]
);
note the automatic_payment_methods parameters
ahh I see
We don't create paymentIntents from paymentIntents method. We just use the subscription method to make the paymentIntents.
Okie then I think you can well ignore the warning. It's there just because of some test payments
I see, thanks for the assistance ๐ .