#凯文-Google Pay

1 messages · Page 1 of 1 (latest)

untold epoch
#

Hi there, how can I help?

livid comet
#

Hello jack, we have a power banks rental APP, which show a bank print of 25€ (the deposit) when someone use google pay, but I would like to change this 25€ to 1€ because people think they are paying the deposit.

#

The electric scooter in Paris show 1€ but people pay much more

#

and they don't need to re-authorize a payment at the end

#

So I wonder if you know how we can change that ? do we have to change a specific function ?

untold epoch
#

So basically you just want to change the charge amount from 25€ to 1€?

livid comet
#

actually we don't charge anything, we just charge at the end depend how long they use the service, if they use it for 2 hours they will pay 2€. But at the maximum they cannot pay more than 25€, that's why the bank print is 25€

#

But I wonder how the electric scooter show only 1€ and still be able to charge 2€ or more

untold epoch
#

OK. Since the exact charge amount is not available in the beginning. You can use the SetupIntent API to collect the Google Pay payment method, when your customer finish the ride and the final amount is available, creating a off-session PaymentIntent to charge the customer.

untold epoch
livid comet
#

my dev tell me setupintent api is decrept and may be abandon in future version, is he telling me bullshit ?

untold epoch
#

There's no plan to deprecate SetupIntent API at this moment.

#

SetupIntent API is Stripe's recommended way to collect upfront payment details without creating a charge on a customer.

#

Maybe your developer is referring to Charges and Sources API? These are legacy APIs and they are replaced by PaymentIntents and SetupIntents.

livid comet
#

Alright Thank you very much Jack for your help, BTW I don't know if you remember we had google pay working but not on every phone, apparently it was : Google login SDK affect Google pay SDKS.

untold epoch
#

Ah, thanks for letting us know. Did you resolve the problem?

livid comet
#

half, now it's working with more phones, but still not every phones, so I guess it was 2 problems in 1, but from now we keep like this, maybe we will update it in the future.

#

Thank you very much for your Support Jack, I guess we need dev like you in the company

untold epoch
#

Happy to help 🙂