How do I implement Buy Now functionality?

Hi,

I’ve been using s2member Pro for many years now, and love it. I sell an online course with 3 different membership levels. I am using Stripe to process the payments.

Now I want to sell a one-time purchase item (3 hours live in-person course) on my website with no membership level to new customers and existing customers.

Can I use the “Capability (Buy Now) Form” for this?

I need a way for people to pay for the in-person course without affecting their existing membership level, or in the case of new customers without creating a membership level.

thanks,
Kanwal

Yes, that is the way.

Thank you for the quick reply, but when I click on “Generate Form Code” it is asking me “Please provide at least one Custom Capability”.

What Custom Capability do I put here?

Remember I do not want to change the membership level for existing clients. And I do not want to create a new membership level for new clients, this is a one-time purchase.

thanks,
Kanwal

It’s a “custom” capability, so you put in what you like. You can call it “dog” or “cat” or “course1” or whatever you fancy. Just remember to put the same ccap in the appropriate s2Member box on the relevant course page.

Thanks Tim, I really appreciate it!

One little detail to consider. (speaking from experience here): if you want to sell a one time purchase and the customers MAY or MAY NOT have already a specific level (maybe they are already members and maybe not), make sure you use some conditional:

if the customer does not yet have a level, use the code similar to this:
[s2Member-PayPal-Button level=“1” ccaps="whatever you want to call it…

BUT, if you will have some customer that are already into a membership level, you will need to use a a slightly different code, starting like this:
[s2Member-PayPal-Button level="*" ccaps="whatever you want to call it…

In the second case, it will not change the customer’s current level. If you set a level, like in the first example, that one time purchase might cancel the recurring payment. I am not 100% sure with Stripe, but i have had that experience many times since i have ONE membership, and several Buy now products. It is quite an inconvenience when the single purchase cancels the subscription and the customer receives a notification that YOU cancelled it!

The solution: wrap the button/form within a conditional to show one button to those without a current level, and another button to those with a current level.

2 Likes