As anyone made this possible on wix, or via integrating a 3rd party such as stripe? i’ve followed a few tutorials on stripe but had no joy, it seems that certain parts of the code are outdated and no longer work, i want my website to allow customer profiles to be set up under a 31 day trial period then obviously if they aren’t happy with the service they can cancel at the end of the trial, i also want customers who have had a trial not to be able to re sign back up after it’s ended under a different trial plan and keep repeating, i’ve looked into stripe and seems quite complex with the integration method, does anyone have an easy solution or do i delve further into it?
if you are doing it through Stripe, then you are really best to go through Stripe itself for the setup of this.
https://stripe.com/docs/billing/subscriptions/trials
I would also look at using Stripe’s own API or even better still, seeing if you can use Stripe’s NodeJS with Wix so that you don’t have to do so much of the code yourself.
https://www.wix.com/corvid/reference/wix-fetch.html
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api
https://www.wix.com/corvid/reference/wix-http-functions.html
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager
https://www.wix.com/corvid/npm-modules
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-myapi-and-myapiclient
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-stripe-payment-processing
Stripe Payment Processing
Integrate the Stripe Payment processing system into a site. Three levels of user access are demonstrated: visitor, freemium (registered), and premium (paid).
Stevo, better still use this tutorial (that I completely forgot about😱) and modify it to suit your own needs for your website.
Lol oops i had it all working from the templates provided on the tutorial but it was purely just to purchase an item, and not linking to a stripe trial run that i wanted, I haven’t a clue how to modify the code to make this work, I’m actually a newbie when it comes to coding, i can do some basic things like modifying variables to suit a basic code structure thats it lol this is out my legue tbf