Question about generating a link

Hello,

I have multiple payment methods activated; and a ‘pricing-table’. I would like to link a registration form to upgrade an user account based on a pricing list option. For example; users will be able to sign up to premium membership. Once they click the link, they should be redirected to a form where to add billing details. Next, they should be able to select a payment method (Stripe/PayPal/CC).

I have found the documentation to generate links per payment method; but that’s not what I am looking for.

Could anyone help me out with this issue?

Thanks.

Well, what are you describing won’t work out of the box with s2Member’s “work flow”. Stripe’s billing method form is a pop-up that comes from Stripe, not a part of the s2Member form generated for Stripe. In addition, you can’t have both Stripe and PayPal shortcodes on the same page. If you truly need the billing address entered BEFORE the payment is selected (and I can’t see what difference that would make in the grand scheme of things), you are going to have to have custom code to pass that information to the registration forms on the following pages.

In any event what you to have is:

  • You pricing page/table with links to
  • A page to select your payment gateway (if you have the custom code to collect the billing address and pass it to the registration pages you can put that here) which links to
  • Registration pages for Stripe and PayPal

Hello,

Thanks for your quick reply.

Could you tell me how to build a page with the payment method? I have changed my mind and I will go on with only one payment provider which support multiple payment methods. But I am not able to create this page… (without billing details).

Thanks.

You’d need to replace s2Member’s billing code (on a custom Pro-Form template) with your own, while still feeding the payment gateway the information required to make the IPN connection to s2Member. Figuring out how to do that goes way beyond the amount of time I can spend on answering questions for free on this forum. I hope you understand. If you’d like me to look into this further, you can fill out a contact form on my website and I’ll get back with you about your project.