#rajput.abd_22
1 messages · Page 1 of 1 (latest)
You may set redirect to if_required: https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
For non-redirect based payment methods, redirection won't happen. However, redirect based payment methods will still perform redirect.
Can you share the request ID (req_xxx) of the error in the screenshot? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
can i share you a link that i am following for implementating subscription for future payment
If you're referring to your development website, then yes!
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
i am following this guide
What's the issue with your integration? This guide should work
issue that when card-element is open there is no submit button
Are you using Payment Element or Card Element in your integration? This guide uses Payment Element integration
Yes!
Payment Element doesn't come with a button
The button should be implemented by yourself
will payment element works for future payment
but there no such infromation about that
The button integration is explained in Step 5: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#add-the-payment-element-to-your-page
will payment element works for future payment
Yes, if the Payment Intent is created from the Subscription
Hii @snow sky
Now this is worked for now want help in one think
this is special scenarios
What is the scenario?
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
You can use Subscription Update API to change the child plan once the parent plan is updated: https://stripe.com/docs/api/subscriptions/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okay one more thing
in updating do we need to confirm anything from client
Generally no, unless the Payment Intent in the latest invoice requires action
okay
thanks for the help
is there doc for webhook
or in return can i passs localhost as i don't have hosting yet
actaully i am stuck with step6's status.js
is this that file where return url work right???
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
like how customer will know if there payment go success or not
i need to give my server endpoint where can i give it
For subscription, your Webhook server can listen to invoice.paid event to determine if the payment is made successfully: https://stripe.com/docs/billing/subscriptions/webhooks#active-subscriptions
thanks you so much for guiding me it very helpful
No problem! Happy to help 😄