- This topic has 1 reply, 2 voices, and was last updated 4 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Stripe payment plugins for your WordPress site
· ·
Home › Forums › Stripe Payments Plugin › Capturing URL parameters and passing back JS
I have a DIY website builder platform. When a customer publishes their site, they are taken to my page where they choose their plan and pay via the Stripe Payments plugin. My DIY builder passes along URL parameters such as the customer name, site ID, etc. Is there a way that Stripe Payments Plugin can capture those URL parameters and auto-fill the checkout form with them?
Secondly, after a payment has been completed, I need to pass a JS call back to my DIY builder such as publishOverlayAPI.publishDone() in order for it to know that payment has been made so it can go ahead and publish the site. Is this possible?
No. This is something that will need to be handled as a custom job.
You should be able to use the “asp_stripe_payment_completed” action hook to create your own callback that you need to send back to the site: