#Abishek - PaymentIntent receipt_url
1 messages · Page 1 of 1 (latest)
I am not setting the URL, I am charging a user using a payment Intent
$paymentIntent = $this->stripe()->paymentIntents->create([
'confirmation_method' => 'automatic',
'confirm' => true,
'currency' => $this->preferredCurrency(),
'amount' => $amount,
'payment_method' => $paymentMethod->id,
]);
I am trying to figure out if there is a way to get the stripe receipt url from the paymentIntent
let me know if it makes sense
I am not immediately familiar with this URL. Are you seeing it elsewhere?
actually I was able to get the receipt url
$paymentIntent->charges->data[0]->receipt_url
i am hoping that is the right way to do it
Gotcha. I did see that Charges have that URL, I was unsure if that was only for Invoicing. Happy that that worked for you!
quick question. Can apple pay and google pay wallets be used for subscriptions ?
Yes they can. You are using your own custom checkout page that uses Stripe Elements for this correct?
yes
are there any country specific restrictions when it comes to wallets?
For example India
can wallets in India be used for subscriptions?
I am using the payment element to store the payment method for future use. So I wasn't sure if I should enable wallets or not
Do you already have your own custom page that starts subscriptions? Or are you still building it at the moment?
I am unsure about region specific wallet behavior, will check our docs