#akram.alsaidi

1 messages · Page 1 of 1 (latest)

cunning palmBOT
#

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.

knotty notch
#

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.

half bluff
#

ok so can,t remove it ?

knotty notch
#

No. You want customers to be able to complete 3DS and return to your app/website

half bluff
#

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 ?

knotty notch
#

I don't understand the question. Can you rephrase?

half bluff
#

when subscripted

#

my question about amount for example if my plan = $40 so the stripe can withdraw from my cart ? or after make confirmPayment

knotty notch
#

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

half bluff
#

how can renew every month the cost ?

#

so can withdraw by price_id every month ?

knotty notch
#

These questions aren't written in a way that I can understand. They don't make a lot of sense unfortunately.

cunning palmBOT
half bluff
#

number 2 we need to addmode: 'subscription',
amount: 1099,
currency: 'usd', ?

knotty notch
#

If you're intending to create subscriptions, then those things are required, yes.

half bluff
#

if i use this we need to add 'subscription',
amount: 1099,
currency: 'usd', ? in js ?

half bluff
knotty notch
#

Are you having trouble with this somewhere?

half bluff
knotty notch
#

Doing that will create a Payment Element and mount it to your webpage. That Payment Element will be set up to create Subscriptions.

half bluff
#

yes so we need use the both

#

i did this one

short birch
#

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.

half bluff
short birch
#

Is there some part of this that is not doing what you expect?

half bluff
#

i,ve created price and product

short birch
#

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?

half bluff
#

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 ?

short birch
#

I mean, maybe. Is it doing what you want?

#

Are you encountering error or unexpected behaviour?

half bluff
#

yes

short birch
#

Yes it's working or yes there are errors?

half bluff
#

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

short birch
#

Can you share the subscription or invoice ID where you expected payment to happen but there was none?

half bluff
#

ok i,ll solve somthing then i,ll send please

#

Quick one

#

about type => setup, payment and subscription what we need to set ?

short birch
#

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)

half bluff
#

so setup for trial ?

half bluff
short birch
#

Probably that it not a trial, then. Can you share that subscription ID? sub_123

half bluff
#

sub_1OF0cvCdTTtQTRvKNvSPu9jP

short birch
#

Yes, this subscription requires payment for the first invoice, it is not a trial

#

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

half bluff
short birch
half bluff
#

Nice now i am at step 4

#

we have client_secret then i,ll do payment confirm now then i,ll show you now

cunning palmBOT
half bluff
#

why not complete ?

#

sub_1OF0pMCdTTtQTRvK4tsmqlG6

short birch
#

It doesn't look like you attempted to confirm the payment for the first invoice (ie, call confirmPayment)

half bluff
#

perfect now is active