Payment-free Setup

By now, you should display the offer properly. If not, read our tutorial about Offer Display.

Purchase without payment details

There are two options to give access to offer without payment details provided:

  • offer with 100% coupon code
  • free offers

📘

Please bear in mind that in both cases you need to provide order with paymentMethodId defined. In both cases, it doesn't matter which paymentMethodId you will use, just pick one of yours.

100% coupon code

There is an option to set up a campaign with 100% discount coupon codes but without the need to fill in payment details.

900900

Offer with 100% coupon code - MediaStore SDK

In such cases use method /payments to process the payment. The customer will have access to the content.

Please note that recurring with charge won't take place if a customer does not add payment details. The customer will receive an email with an explanation that adding payment details is mandatory to keep access to content. The email may look like in this screenshot:

598598

Example email - MediaStore SDK

339339

Purchase with 100% coupon code flowchart

📘

Tips!

During your email campaign, if you want to redirect the end-user from email to your checkout with the coupon code automatically applied, you will have to follow the below steps,

  • Create a coupon campaign with unlimited coupon codes
  • Add a link in your email to your checkout page and add the coupon code in the URL query param
  • While entering the checkout page, take the coupon code from the URL and apply it to your order

You can do this through the order creation endpoint.

Free offer

You can create a free offer and give the customer access to the content without payment details. To do so use /payments method, as above.

Remember that order should be created with defined paymentMethodId. If the offer is free, it doesn't matter which paymentMethodId you will use.

894894

Free offer - MediaStore SDK

523523

Purchase free offer flowchart

📘

Testing

All customer transactions are shown in the Customer Details dashboard. Open the 'Customer Accounts' page on sandbox or production, select customer and check the list of transactions.

Up Next

Congratulations! Now, you're ready to give your customers access to offer without payment details provided.

If you'd like to sell access to paid content too, make sure your payment setup is ready: