Integrating Paypal into my website (built using node.js) so members can pay a one off subscription?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, wondering if you can point me in the right direction?
I have built a website using node.js. It's a course website consisting of 100+ lectures and I want to allow customers to pay a one off membership fee to access to full course.
Currenrlty my user schema is:
var UserSchema = new mongoose.Schema({ username: String, password: String, email: String, member: Boolean(false), });
When a user signs up, the membership variable is set automatically to false.
I want to be able to give the option for a user to sign up and then to pay for membership. They will then be brought to a membership payment page and are able to pay using Paypal. Then, somehow I need to be notified of a successful payment so that I can change the 'memership' variable to 'true'.
I will then use this variable to give them access to a route that has all the videos.
Is this possible? This is my first attempt of trying to intergrate payments into my website. The price I'm asking for the course if £29.
Kind regards,
s_bruno1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may want to redirect your question to the Developer forum. And you should also check out the Merchant Tech Support community.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- how to globally change number of attempts by subscription in About My Account
- unwanted recurring payments in About Payments
- Vouchers and Membership Cancellation Queries in Getting started!
- Selling Online Service (without shipping address) instead of a physical product in About Protections
- Can I increase monthly subscription cost in About Payments