#nita1234_api
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/1421127861544292414
đ 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.
- nita1234_api, 1 day ago, 25 messages
The error is ocurring while i try to confirm a payment through this api https://api.stripe.com/v1/payment_intents/{id}/confirm
I am using express checkout in front
Can you share the Payment Intent ID involved here as well as the code you're using to initialize Elements and the Express Checkout Element?
So that's a subscription payment intent
initPaymentRequest(currency, amount) {
const { stripe } = store.getters;
const appearance = {
theme: 'stripe',
variables: {
borderRadius: '36px'
}
};
const expressCheckoutOptions = {
buttonHeight: 50,
buttonTheme: {
applePay: 'white-outline'
}
};
this.expressCheckoutElements = stripe.elements({
mode: 'payment',
amount: amount || 0,
currency,
appearance
});
this.paymentElement = this.expressCheckoutElements.create(
'expressCheckout',
expressCheckoutOptions
);
this.paymentElement.mount('#express-checkout-button');
this.paymentElement.on('confirm', async (ev) => {
try {
console.log('on confirm event', ev);
this.paymentType = 'wallet';
this.walletType = ev.expressPaymentType;
if (this.onValidateCallback) this.onValidateCallback();
if (this.onConfirmCallback) this.onConfirmCallback();
} catch (err) {
console.error('Express Checkout confirm error:', err);
return this.paymentErrorResponse(err);
}
});
}
It has off_session set on it because of that
Looks like you are initializing the deferred intent flow in your elements code
yes because i am usign the same logic as with paying with card should it be different?
But the code doesn't really make sense
You have set it to payment mode
Are you really using the deferred intent flow?
Do you wait to create the subscription until after the customer has filled out their card details?
Or do you create it on form load
After they have filled their card details i create the subscription
Ok well you should change mode to 'subscription' then
You should follow this doc: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription
That's the issue here
Let me try please
I am trying to purchase a recurring subscription with Paypal
And i am using Express Checkout
Yes I can see that from the code
Would the implementation from the provided link work for all types of wallets? Ex: google/apple pay?
It would work for all payment methods that support subscriptions, yes
Hi there, taking over for @foggy escarp as they had to step away
Give me a moment to catch up on the conversation
Okay
Is the question here why google and apple pay are not showing up in that screenshot?
It seems like something is missing i can not select the card on Paypal I only see that text from the image i sent you
The message in the screenshot says "After submission, you will be redirected to securely complete next steps." Are you saying you aren't able to submit?
Hi, we are trying to integrate paypal in our current implementation. Right now on server-side we are working with the Advanced Integration, while on client-side we are using iframe inputs, we are struggling to find the way to integrate paypal into are current implementation. Can you please send us any link or give us any advice that can help us. We already connected Paypal in Stripe Dashboard.
We already tried using express checkout but we cannot figure out why that error is ocurring.
Got it. It sounds like from the conversation above the suggestion was to follow this doc: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription. Have you tried this? Did the screenshot above come from following that guide?
yes it did
So it looks like the error from the initial question has been resolved. From the screenshot, it looks like Paypal is showing up in the frontend. Can you explain exactly what the unexpected behavior is? There doesn't appear to be anything wrong from the screenshot that you shared
After submission of what ?
The form. Can you share the screenshot of the whole page so I can better understand what you're seeing?
There's nothing else on the page? Can you share the JavaScript code you used to generate this frontend?
should we confirm Payment at this point with the client secret we got and then the user will be redirected ?
and also for paypal subscriptions should we use the client secret from the Pending Setup Intent or Latest Invoice ?
If you're following the guide specified, then there should be a form with a submit button
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription#add-the-payment-element-to-your-checkout-page
I'm curious as to why you don't see a submit button
i tried to contact the support but nothing happen, i have 12k on hold, i was wondering if you know someone to contact that can review my case faster, i understand that you have alot of message like this but, it's two day that i don't eat so please help me.
they just suspended my account because my store was running closure sale
account name: tilma
mail: customerassistance936@gmail.com
also, if i open my stripe's dashboard they say that i have to attached some documents but when i click on them they say that to know what they are i need to contact the support, so it's a infinite loop
@copper crown this isn't your thread, please open a separate thread