#rajput.abd_22

1 messages · Page 1 of 1 (latest)

sacred fernBOT
snow sky
honest saddle
#

what is next step as i want to save my card details

snow sky
honest saddle
#

can i share you a link that i am following for implementating subscription for future payment

snow sky
#

If you're referring to your development website, then yes!

honest saddle
snow sky
#

What's the issue with your integration? This guide should work

honest saddle
#

req_xvIDRlPjqCpPfk

#

this is my req_id

honest saddle
snow sky
#

Are you using Payment Element or Card Element in your integration? This guide uses Payment Element integration

honest saddle
#

payement element

#

but as i know this guide is for future payment right

snow sky
#

Yes!

#

Payment Element doesn't come with a button

#

The button should be implemented by yourself

honest saddle
#

will payment element works for future payment

honest saddle
snow sky
#

will payment element works for future payment
Yes, if the Payment Intent is created from the Subscription

honest saddle
#

Hii @snow sky

#

Now this is worked for now want help in one think

#

this is special scenarios

snow sky
#

What is the scenario?

honest saddle
#

like there is child-parent with same billing and differ billing

whenever parent change their plan child plan will automatic change but we are using same subscription for same billing child for want to use differ-2 subscription for the differ billing child.

now how can i implement this whenever user changes his plan then also want to change the his child's plan

snow sky
honest saddle
#

okay one more thing

honest saddle
snow sky
#

Generally no, unless the Payment Intent in the latest invoice requires action

honest saddle
#

okay

#

thanks for the help

#

is there doc for webhook

#

or in return can i passs localhost as i don't have hosting yet

snow sky
#

Webhook can be tested in local with the guides above

honest saddle
#

actaully i am stuck with step6's status.js

#

is this that file where return url work right???

snow sky
#

Nope! It should be a different URL from return_url

#

return_url is the page which customer that will be redirected to after completing the payment

#

Webhook URL is the one that your server will listen for the events on your account

honest saddle
#

like how customer will know if there payment go success or not

#

i need to give my server endpoint where can i give it

snow sky
honest saddle
#

thanks you so much for guiding me it very helpful

snow sky
#

No problem! Happy to help 😄