#harrison-ff_error
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1237323894491185172
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Have you had a chance to follow this guide first?
https://docs.stripe.com/payments/paypal/set-up-future-payments
Yeah the is the exact guide I have followed, step by step
and on step three:
// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
\Stripe\Stripe::setApiKey('sk_test_26PHem9AhJZvU623DfE1x4sd');
$session = \Stripe\Checkout\Session::create([
'payment_method_types' => ['paypal'],
'mode' => 'setup',
'customer' => $customer->id,
'success_url' => 'https://example.com/success?session_id={CHECKOUT_SESSION_ID}',
'cancel_url' => 'https://example.com/cancel',
]);
// 303 redirect to $session->url
It is still pending, but I want to be able to do it without recurring payments, is this possible with paypal?
No
okay, so when the paypal is accepted as recurring, this should all work?
Thank you very much