#rangermillze_api

1 messages ¡ Page 1 of 1 (latest)

acoustic dockBOT
#

👋 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/1293186460790427659

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

mild compass
#

hi there!

wide umbra
#

Hi soma

mild compass
#

can you share a screenshot of your payment form wit the paypal button?

wide umbra
#

sure

mild compass
#

that looks like a normal Payment Element, with Paypal. you cannot control where users are redirected after they submit the form.

wide umbra
#

ok, how do i integrate the paypal express? do i need another button and remove paypal option in my dashboard?

#

I want my customers to be able to pay for subscriptions with paypal express

mild compass
#

where did you see Paypal Express mentioned in the Stripe docs?

wide umbra
#

is it a different element completely to the payment element?

mild compass
#

sure, but' that's not the Payment Element, so it's different.

wide umbra
#

ok, do i need to create a new button to pay with paypal?

#

and remove paypal integration from my dashboard?

#

im confused as hell with this paypal integration now. so the normal paypal button that is hosted inside the payment element doesnt support paypal express?

mild compass
#

you could add the Express Checkout Element just above your existing Payment Element. and it should automatically remove wallets (Apple Pay, Google Pay, Paypal, etc) from the Payment Element itself.

wide umbra
#

ahh i see, i'll try that thanks

#

so basically i have a manual checkout with stripe and a manual checkout with paypal button?

#

and i suspect i also have to have a compeltely different form for paypal express?

mild compass
#

I'm not sure I understand your question. I recommend testing the Express Checkout Element in test mode and see how it works.

wide umbra
#

i will, im trying to find documentation on getting the response. I currently use: stripe.confirmPayment({
elements,
confirmParams: {
// Return URL where the customer should be redirected after the PaymentIntent is confirmed.
return_url: 'https://kwiktactix.com/gateway/err.php',
},
redirect: 'if_required'
})
.then(function(payload) {

#

is there a similar way to get the response for the paypalexpresselement?

mild compass
wide umbra
#

got it thanks