#Santhurein

1 messages · Page 1 of 1 (latest)

hexed jungleBOT
tepid nebula
#

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

trim kraken
#

@tepid nebula Noted! give me a moment please

trim kraken
#

@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...

tepid nebula
#

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

trim kraken
#

@tepid nebula You need to log in first, here is username and password. it is staging site so we can test around

#

This should be 120 SGD.

tepid nebula
#

I tried to click book session, and it went into successful booking instead of prompting for payment

#

let me try again

trim kraken
#

Hmm? ok, you need to book one session in dashboard with therapist named "Staging".

tepid nebula
#

I tried to sign in, but it only has mobile number option

#

Where can I change to email login?

trim kraken
#

just type in phone number input!

tepid nebula
#

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

trim kraken
#

Oh ok give me a moment please

#

can you try again please @tepid nebula ?

#

97564139

tepid nebula
#

Sure, let me try again

trim kraken
#

This is phone number

#

+65

tepid nebula
#

Ah I see where the problem is

trim kraken
#

But in Stripe dashboard, the amount is correct

tepid nebula
#

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

trim kraken
#

@tepid nebula Understood! will there be any other effects for not being the same amount between payment element and intent?

tepid nebula
#

The customer experience won't be great and may raise a complaint or dispute to the bank

trim kraken
#

Noted, Thank you so much!

#

Oh another question is

#

nvm, I will open another threads for it later if necessary. Thank you!