Link

How to use stripe coupons in accesstype

  1. Create a coupons in stripe

Navigate to coupons page in stripe and create a coupon

Stripe coupon creation

  1. Add custom attributes in a plan in accesstype
  • Navigate to plans page in accesstype and scroll to Custom Attributes field

Custom Attributes Field

  • Click on Add Attribute button, once inspecter opens in the right site, add (allow_stripe_coupon) in the Name field and Type field can be any and click on add.

Add Attribute button add button after adding detail

  1. Stripe checkout page

When user purchase the plan which has custom attributes will show the option to add the coupon in the checkout page.

Stripe Checkout Page With Coupon