#Randomuser2022
1 messages · Page 1 of 1 (latest)
hello! You will need to have a real card added to your Google Pay and Apple Pay in order to test / verify (see https://stripe.com/docs/stripe-js/elements/payment-request-button?client=react#react-testing for more details). You could ask a colleague who has either Google Pay or Apple Pay on their device.
ooh ok, just want to confirm that technically, after Google Pay was added in dashboard, it'll show up on the page if the user have the card to their Google Pay? No need to configure on the dashboard right?
how are you integrating with Stripe - are you using the Payment Element? or Checkout Sessions?
Payment Element
we have a test in test mode and the google pay shows up. but in the live mode, a user said it didn't show up. unfortunately, there's other users are not available to the test
and the time line is a bit tight
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#apple-pay-and-google-pay - you need to also verify your domain for Apple Pay
do you have a link to your live site?
yes we verify it but don't have the chance to test it in live mode..
yes
could you have a look?
i could only check two methods
Google Pay is showing. If you don't have any live cards added to your device, Google Pay won't be shown as an option
apple pay is also showing
Google Pay will only show on Chrome, and Apple Pay on Safari
ooooh
i get it
so the button is on, i guess is no problem? stripe collects the payment for us
assuming that you've tested card payments, yes, apple pay and google pay would work the same way as well
glad to have been able to help!
and one more question if possible. i'd like to know the minimum payable amount for Affirm. Sometimes it didn't show up but sometimes it did depending on the amount?
the minimum charge amount is listed here : https://stripe.com/docs/payments/affirm#payment-plans-us
could you also have a look on this if possible? Stripe said the payment is completed but it looks sus? it's in live environment
why does it look sus?
it's via google pay
because if it's successful, it'll create a new record in SF
how to check if the payment success or not? in google pay or in stripe
does it mean successful?
since the Dashboard shows that it's succeeded, that means that it is successful
if it's not showing as successful in your DB (or however Salesforce works) that's something you would need to trace through in your own code / logs
Does it mean actually deducted the money in live environment?
YES
Response body
{
"id": "pi_3NDJ6jEydrSRkIrF0RkgYnIi",
"object": "payment_intent",
"amount": 212,
"automatic_payment_methods": {
"enabled": true
},
"currency": "usd",
"last_payment_error": null,
"livemode": true,
"metadata": {
"sfid": "a234x000000Sg7VAAS"
},
"next_action": null,
"status": "requires_payment_method",
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3N*************************************************oH4s",
"confirmation_method": "automatic",
"created": 1685416825,
"customer": null,
"description": null,
"invoice": null,
"latest_charge": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"transfer_data": null,
"transfer_group": null
}
OK, this PaymentIntent is succeeded. Since it's in live mode, so your customer is charged.
oooh thank you