#ajay bhalke-checkout-wallets
1 messages ยท Page 1 of 1 (latest)
Hey. Checkout supports Apple Pay & Google Pay out of the box. Are those payment methods enabled on your account?
yes I see both ON here
but
https://dashboard.stripe.com/settings/checkout
here I dont see those options like someone from stripe support chat said
Can you share your Stripe account ID please? (acct_xxx)
acct_1JjRQsBXPc1EmRGH
Thanks, taking a look
any update?
Sorry for the delay!
no issue
but got something?
One moment
Can you create a Checkout Session for me real quick?
I dont know what exactly you expecting
My code looks like this
$session = $this->stripe->checkout->sessions->create([
'success_url' => $base_app_url.'/payment/receive/status?session_id={CHECKOUT_SESSION_ID}',
'cancel_url' => $base_app_url.'/subscription-cancel',
'payment_method_types' => ['card'],
'line_items' => [
[
'price' => $request->subscription_package_id,
'quantity' => 1,
],
],
'mode' => 'subscription',
]);
Yep, can you make that API call please
done
Checking ๐
I see Google Pay
Do you have payment methods in your Google/Apple wallet?
I cant see
where I can find it?
https://dashboard.stripe.com/settings/payment_methods
Here I see Cards, Apple Pay and Google Pay - ON
Right, but you need to have a card in your Google Wallet
When you buy a Google service (like Google One) or buy something through a Google product (like Google Play), the payment info you provide is saved to your Google Account. You can view or make changes
Same applies for Apple Pay
you mean here?
https://dashboard.stripe.com/settings/payments/apple_pay
No, in your actual Apple Wallet
oh
and how do we can link those to stripe?
๐ Jumping in for ynnoj here. Once they're in your wallet (whether Google or Apple), they'll appear as options when you try to checkout with Stripe Checkout (assuming that your Stripe account is set to allow those payment method types and configured properly). They're separate and you don't need to manually add individual cards on Stripe's side.
(they just need to be in the wallet on the client side)
I read it wont work on localhost with http
Needs https
And how can I use test details for testing Apple Pay and Google Pay?
Just like strip have demo test cards?
Apple Pay and Google Pay don't support test cards so you add a real card to your wallet and then use your Stripe test mode keys. We'll know it's a test mode call and won't use your real card for any charges or anything.