June 26, 2020 at 12:35 am #3022joshlang412Participant
Hello! I just downloaded and got the Subscription plugin working on my word press site. Currently i have my site customized to where some forms are populated along with some custom logic. Once this logic is complete the user is directed to a page that populates some of the output of that custom logic (fields they populated at earlier page, calculations based on what they provided, etc..) along with the subscription plan/product short code to allow them to sign up and make the payment if desired. From there the stripe functionality is working as expected and then the page displays a spinning circle that eventually just re-directs back to the URL of the previous page.
1.User populates form on Page A
2.Form values are maintained and caclulated on in custom logic
3.User is re-directed to Page B with a display of the information from 1-2 along with the stripe subscription button
4.User completes the stripe process and is re-directed back to Page B
I am looking to implement some post-processing custom logic to my site to populate some information in my database once the stripe payment is complete/confirmed. Then once this is complete i want to re-direct to a Page C that shows a generic confirmation message along with some of those same field values/calculated fields.
Can someone please point me in the right direction of how i can customize the plugin to handle the A)Post Processing logic once the stripe payment is complete and B)the process to re-direct to a different pageJune 26, 2020 at 1:18 am #3025AdminKeymaster
We have action hooks that gets triggered after a transaction. You can use that hook to create your custom processing after a transaction.
So you can create a custom plugin that listens to the hook and then does the additional processing after the transaction.
Side note: I know that some of our users don’t have the coding expertise required to handle the complex customization required for that particular project/business. If you want us to understand your particular business scenario and provide help with coding then that will need to be handled as a custom job. You can use the following page to get in touch for a custom job:
- You must be logged in to reply to this topic.