#akram.alsaidi
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- akram-stripe-confused, 1 hour ago, 35 messages
- akram.alsaidi, 2 hours ago, 21 messages
- akram.alsaidi, 3 hours ago, 6 messages
That's for when a customer has to complete 3DS authentication with their card issuer. The redirect URL tells Stripe where to send them when they complete that authentication.
ok so can,t remove it ?
No. You want customers to be able to complete 3DS and return to your app/website
ok thank you
also i have question
so after the customer made subsicripe so can charged he mony from my cart ?
or after make confirmPayment ?
I don't understand the question. Can you rephrase?
when subscripted
my question about amount for example if my plan = $40 so the stripe can withdraw from my cart ? or after make confirmPayment
Again, I don't understand what you're asking. Stripe doesn't have a cart, so if you're using a cart, we likely won't have context about it
so this for subsicripe
how can renew every month the cost ?
so can withdraw by price_id every month ?
These questions aren't written in a way that I can understand. They don't make a lot of sense unfortunately.
If you're intending to create subscriptions, then those things are required, yes.
if i use this we need to add 'subscription',
amount: 1099,
currency: 'usd', ? in js ?
yes sure i need intending to create subscriptions
Are you having trouble with this somewhere?
so i need to use this
and this ?
Doing that will create a Payment Element and mount it to your webpage. That Payment Element will be set up to create Subscriptions.
Can you share the URL to the guide you're following?
It seems like you're stepping through one of our integeration guides and asking for confirmation of each step.
Is there some part of this that is not doing what you expect?
i,ve created price and product
These are tow different patterns for integration when starting subscriptions with payment element, either intent-first or deferred intent creation. Which are you tryng to do?
then i,ve cretated customer
also i,ve price_id and customer_id
and this is clear
then we need to do this to enter my payment information
and this
so all i,ve created
and finally i,ve created this
So now my question now this is perfect ?
I mean, maybe. Is it doing what you want?
Are you encountering error or unexpected behaviour?
yes
Yes it's working or yes there are errors?
still no error but when make live mode and subscripted and set my cart information and make subscripted there no any mony withdraw from my bank
Can you share the subscription or invoice ID where you expected payment to happen but there was none?
ok i,ll solve somthing then i,ll send please
Quick one
about type => setup, payment and subscription what we need to set ?
This is your own data structure, used to indicate whether you're confirming a payment intent or a setup intent (eg, for subscription with a trial)
why the pending_setup_intent is null ?
Probably that it not a trial, then. Can you share that subscription ID? sub_123
sub_1OF0cvCdTTtQTRvKNvSPu9jP
Yes, this subscription requires payment for the first invoice, it is not a trial
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So you'd in this case follow the "payment" path and use confirmPayment with the latest_invoice.payment_intent.client_secret you're getting back there
Perfect so we can do this after add payment element and confirm payment ?
Using this guide you linked to, you'd:
1/ render the Payment Element with appropriate configuration
2/ call elements.submit() to validate the form
3/ call your server to get the subscription and client secret like you shared
4/ use that client_secret to confirm the invoice payment to start the subscription
Nice now i am at step 4
we have client_secret then i,ll do payment confirm now then i,ll show you now
It doesn't look like you attempted to confirm the payment for the first invoice (ie, call confirmPayment)