How to fix the Memberstack checkout error when creating a free subscription with a voucher?

Post author
Craig Quilkey
Hi Team, I created a free subscription for some special guest but in the checkout im getting an error:
 

The Voucher is simply revealing the 3rd panel to the user.

Here is the URLhttps://www.productm8.io/pricing?voucherpass=CraigsVoucher
any advice would be great

Comments

5 comments

  • Comment author
    A J

    Hey Craig Quilkey,

    For the 3rd panel's 'Get Started' button, can you have the custom attribute as data-ms-plan:add="pln_free-k31n90nvk" instead of data-ms-price:update="pln_free-k31n90nvk" as it is currently?

    That should solve the error and assign the free plan to the user when they click on the Get started button for the free plan.

    Hope this helps.

    0
  • Comment author
    Craig Quilkey

    Hi AJ, I applied this and tried both dynamically adding the attributes to the button or the attributes just being on the button. the Free returns an error both the start and the business buttons work fine. but the free panel does not let the user through.

    could you have another look at the URL and let me know what you think: https://www.productm8.io/pricing?voucherpass=CraigsVoucher

    0
  • Comment author
    A J

    I can still see that the free panel's 'Get Started' button has the custom attribute as data-ms-price:update="pln_free-k31n90nvk".

    Can you please change it to data-ms-plan:add="pln_free-k31n90nvk" and test the flow out and see if you still face any blockers?

    0
  • Comment author
    Craig Quilkey

    you might need to refresh as it is set to add

    Whether it is set to add or update the error is happening on the next screen once the subscribe button is pressed

    But A J i hugely appreciate your help!! thankyou so much

    0
  • Comment author
    A J

    Hey Craig Quilkey,

    Welcome 😇

    The difference in the attributes I shared earlier is not just of add / update. Both the attributes are different in the use-case, such that the data-ms-price is used for paid plans and data-ms-plan is used for free ones.

    While I can see you have changed it to data-ms-price:add, what I had mentioned was to have the custom attribute as data-ms-plan:add="pln_free-k31n90nvk".You can also find this information by clicking the "Install & Publish" button when you select the respective free plan in Memberstack dashboard, in case you want to double-check.

    Can you make the changes and test it out to see if it helps?

    0

Please sign in to leave a comment.