Trigger stripe for memberships externally

Hi,

We would like to trigger the stripe popup without having to access the membership settings page such as: https://londonrealacademy.com/memberships-settings/?membership_id=43144

So how can we trigger the strip payment for a certain membership externally (from any page).

Thanks for the quick reply.

  • Predrag Dubajic

    Hey Dre,

    Hope you're doing well today :slight_smile:

    Could you please provide us with some more info about what exactly are you trying to accomplish as I'm not sure I understand your request completely.

    Are you looking to show the payment button on any page that will trigger Stripe popup?
    If that's the case, can you explain a bit how would in this case users register an account or select which membership they will subscribe to?

    Looking forward to your response.

    Best regards,
    Predrag

  • Dre

    "Are you looking to show the payment button on any page that will trigger Stripe popup?"

    Yes

    "If that's the case, can you explain a bit how would in this case users register an account or select which membership they will subscribe to?"

    That is the question would love to get an answer for!
    We have a page with custom membership tables, and would like to trigger the strip payment for each level in the bottom of the relevant table. Please note that users registering for such memberships are already members. It is just an upgrade to another membership.

    In the link i provided https://londonrealacademy.com/memberships-settings/?membership_id=43144 (you need to register or login) also provided in the screenshot, there is the the pay now button which triggers stripe popup for that membership ID. So the question is how to trigger that button while still associating the payment with a certain membership ID from any page?

  • Predrag Dubajic

    Hi Dre,

    Thank you for the additional info, however this is not something currently possible with M2 plugin as it requires to go to membership page in order to assign correct membership to account.

    Closest thing to this that could be done out of the box would be with this shortcode:
    [ms-membership-buy id="15" label="Buy now!"]
    Where 15 is ID of your desired membership, and Buy Now can be changed to any desired text.
    This will add link to your page which will redirect to payment page for that specific membership.

    Adding Stripe button directly would require some additional coding, if you need to customize this then you can post a job in our job board where you can hire a developer to assist further:
    https://premium.wpmudev.org/wpmu-jobs/
    Please note that, no WPMU official staff members are allowed to work in the job board.

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.