#Santhurein
1 messages · Page 1 of 1 (latest)
Can you share the Payment Intent ID (pi_xxx) and the screenshot of your Google Pay of the same payment intent?
Ideally, Google Pay should display according to the PI amount
@tepid nebula Noted! give me a moment please
@tepid nebula Sorry for keeping you waiting, i have no idea but google pay is not showing up on my machine while working well on others. Is it because of VPN? Thank you!
Because of it, I need to request them to test for me.
Should be there...
Can you share the website you're in, so that I can try if I can see Google Pay in my browser? You'd need to have card saved in the Google Pay in order for Google Pay button to be shown
'Looking for a therapist in Singapore? TYHO offers affordable individual, couples and family therapy for various issues and to suit all preferences. '
@tepid nebula You need to log in first, here is username and password. it is staging site so we can test around
videosdk@test.com
Test@123
https://tyho-website-staging.talkyourheartout.com/payment_page After sign in, please go to this URL. I make it ready for you to test
'Looking for a therapist in Singapore? TYHO offers affordable individual, couples and family therapy for various issues and to suit all preferences. '
This should be 120 SGD.
I tried to click book session, and it went into successful booking instead of prompting for payment
let me try again
Hmm? ok, you need to book one session in dashboard with therapist named "Staging".
I tried to sign in, but it only has mobile number option
Where can I change to email login?
just type in phone number input!
What is the phone number that I can use for logging in?
I cleared the cookie and cache and tried logging in with email again
The account is currently blocked
Sure, let me try again
Ah I see where the problem is
But in Stripe dashboard, the amount is correct
You collect payment method details, then create payment intent: https://stripe.com/docs/payments/accept-a-payment-deferred
With this integration approach, the amount displayed on Google Pay doesn't use the one on Payment Intent since Payment Intent isn't created at this point.
Your frontend JS code here doesn't take multiple 100 for SGD:
let optionAmount;
if(currency === 'INR') {
optionAmount = parseInt(amount) * 100;
} else {
optionAmount = parseInt(amount);
}
If you wish to use the amount on PI, you should create payment intent first, then collect payment details
Otherwise, you have to ensure the frontend amount is the same as the amount created as the PI amount in your current integration
@tepid nebula Understood! will there be any other effects for not being the same amount between payment element and intent?
The customer experience won't be great and may raise a complaint or dispute to the bank