#s0__0-pm-order-creating-PI
1 messages · Page 1 of 1 (latest)
can you share the link?
ah sorry I meant the link to the doc
Yeah I think you're looking at the wrong docs.
This is for client-side library
When you create a PaymentElement
It isn't relevant for a PaymentIntent
in PaymentIntent, can i hide some payment method?
Apologies for the delay here
Yes you can
You can pass in payment_method_types of your choice
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
i pay by google pay when i go live
however it didnt go to return_url that i have set
it just stays on the card form
Are you seeing any errors in your console?
GET https://pay.google.com/gp/p/payment_method_manifest.json net::ERR_ABORTED 403
Seems like your google pay payment is failing?
my card is paid, have a sms
and it is all right in test mode @@
i cant test too much time in live mode
shared-94d55de0c00385ac8ee5eb34ad0ef466.js:1 GET https://api.stripe.com/v1/elements/sessions?key=pk_test_nf1huki4eikb7RwVPwsL953a00wvSEqNIo&type=payment_intent&locale=zh-TW&client_secret=pi_3KlapgGRGdCFkMmo3hGGkE8x_secret_F7CVUjfzw4VNd0vveHKU9a6Jv&expand[0]=payment_method_preference.payment_intent.payment_method 400
this is 400 too @@
this is not issue about .htaccess, because i del all content inside it, still 400/403
pi_3Klb5bGRGdCFkMmo3N513Ozq
can you share the full screenshot of the error?
Hi there! @torpid bolt had to step away. Give me a moment to catch up....
Am I understanding correctly that you are seeing this error after you complete the Google Pay modal?
wanna see why same url with diff device, mobile has that error
- F5, error shown, didnt press anything
- live mode, pay by google pay, no redirect to return_url
I am having these two problems
hello?
@jagged pawn Hello - I'm also hopping in to help. Sorry I was catching up
I don't see the same error on my device
- F5, error shown, didnt press anything
On the device that does show the error, are you able to continue on with Google Pay, or do you just get more errors?
i can pay by Google Pay, but after that , no redirect to my return_url
the result is , just staying in the same page
You're only seeing the redirect not work on the device with errors right? Not the device without errors?
i have only one mobile, however, in test mode, all things work fine
What kind of device is it again? And when you go through the flow on mobile can you show me what your networks tab looks like
s20 ultra
Gotcha - and let me know when you have more details on what the failing requests look like
after i paid in live, the three-row-error occur again
my card is charged, db is recorded paid, product is sent too
if i refresh this page , this will become "this bill is paid"
Is there anything different about your wifi setup for your mobile device and the device that isn't seeing errors?
it is in the same wifi
and can you share the Payment Intent ID?
pi_3Klc5BGRGdCFkMmo2IoP2MK2
That Payment Intent hasn't been paid - so something is wrong on your code if refreshing the page shows "this bill is paid"
also, in this device, when i tab card number feild, some saved card number will appear. After i type CVC, it supposes to help me fill in the card num but it didn't
Let's focus on one problem at a time - when we get past this google pay error we can move on to the autofilling one
oh sorry u should check this
pi_3KlbwBGRGdCFkMmo2gakslXZ
as i refresh the billing page, the payment intent will refresh
should i turn to test mode and try those google pay again?
i find a old mobile , this time i pay with typing card number, not google pay. after paying, no redirect again
So you're seeing these redirect issues just across the board, right? It's not limited to google pay?
my 2nd device have this error too, without error 3
yes, no redirect at all
Yes, but ignoring those errors for a minute (I don't think they're affecting your ability to actually pay with google pay, so I want to narrow in on what the actual issue is)
Ah, yup that's definitely the reason.
Is your goal to always do the redirect? If so, you need to change it to redirect: always. We don't redirect for card/digital wallet payments if you have redirect: if_required.
sorry for that stupid question
yes! i want redirect always, but not closing the wechat qrcode
There isn't a way to conditionally specify which payment methods you want the redirect to happen for. If you set redirect: always then we will do the redirect for wechat pay after you click the "exit" button on the qr code
so for the best, i should leave it alone, with closing QR code , redirect
yes, i would be best to just always redirect
and this @@?
You're referring to chrome autofilling the credit card information, correct?
I'm not seeing any issues with autofill on my end, but it may be a bug specifically with the s20
my pc work fine too
Can you check the autofill settings on your s20 and send a screenshot of what they see?
Can you still check your settings?
ok~ what to do now @@?
There should be autofill settings somewhere on your phone - I don't know where they are specifically on a samsung device, but you should be able to find them if you search
but that autofill is just about google password and samsung password
there should also be autofill settings that apply to payment methods
no relevant setting found @@
nevermind maybe this is just my fault, or a s21 bug, i have to go live now
thanks for your patient helping
happy to help! For your specific autofill bug I'd suggest googling around to see where these autofill settings live and whather this may be a setting issue. If you don't find anything, you can also report this as a bug by writing into support at https://support.stripe.com/contact and someone will take a closer look
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
oh , i visit stripe.dev/elements-examples/
my s21 have the same issue
Writing in to support, as @thick kiln said, is your best bet in terms of finding a resolution.
ok thanks:)
Hello, I found that the Wechat QR code and alipay is china version wallet, is there any method to change to other region wallet of them ?
Like wechat HK, alipay Macau etc, as they consider as different app/wallet
You can enable WeChat Pay or AliPay in your dahsboard. They are available payment methods.
I have enabled them, but it is china wechat and china alipay
is there any method to change to other region wallet of them ?
You can specify what payment methods you will accept on each individual Payment Intent
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method_types
We do not differentiate that this time AFAIK
can i specify apple pay here?
Which field are you looking at and on what object?
$stripe = new \Stripe\StripeClient(STRIPE_API_KEY);
$intent = $stripe->paymentIntents->create(
[
'amount' => $row_result['amount'] * 100,
'currency' => 'hkd',
"payment_method_types" => ["apple-pay"],
]
);
something like that?
Digital wallets are treated the same as Cards on our back-end. If you want to implement a digital wallet only approach you could try using the payment request button
okok thanks~