Skip to main content

Integration with Stripe Pricing Table

Integrate Rewardful using Stripe Pricing Table

Written by Charles Rosel

Integrating Rewardful is a quick way to set up affiliate and referral programs for your landing pages. We automatically track referred Visitors, Leads, and Conversions from your affiliates, customers, influencers, and/or partners. Commissions are automatically adjusted for any billing event changes such as downgrades, upgrades, free trials, cancellations, and refunds.

Each person that signs up for your program will receive a personalized dashboard where they can create and manage their affiliate links, stats, and track their success.

To set up the integration:

Then follow these steps to complete the integration:

I. Adding the Rewardful Tracking Script

Grab your Rewardful script from STEP 1 on the JavaScript integration page (Note: you don't need to add Step 2 as another code will handle the referral UUID).

Note: For users using Google Tag Manager in their WordPress site, grab this version of the STEP 1 script.

Paste the STEP 1 script in section where you're allowed to add custom head codes or if you're using a third-party plugin for handling custom head codes, paste it into that section.

II. Create the Stripe Pricing Table

  1. In your Stripe dashboard, go to the Stripe Pricing Table page

  2. On the upper right, click Create Pricing Table

  3. Add your Products then click Continue

  4. Check Allow promotion codes for each product (for coupon-based referral tracking

  5. Click Continue and Finish the Pricing Table creation

III. Adding Rewardful HTML attribute in your Stripe Pricing Table code

  1. Copy the Stripe Pricing Table code

  2. Paste it in the page where the pricing table should appear

  3. Before saving the code in your website, add data-rewardful HTML attribute at the opening <stripe-pricing-table> tag, for example (replace PRICING_TABLE_ID and STRIPE_PUBLISHABLE_KEY):

    <script
    async
    src="https://js.stripe.com/v3/pricing-table.js">
    </script>

    <stripe-pricing-table
    data-rewardful
    pricing-table-id="PRICING_TABLE_ID"
    publishable-key="STRIPE_PUBLISHABLE_KEY">
    </stripe-pricing-table>
  4. Save the changes you made to your website

IV. Confirming the Rewardful dashboard initial setup

  • Go back to your Rewardful dashboard, click the Ok I've completed this button.

  • On the next set of instructions, open the link that has a ?via=install on an incognito window or private browser, let your site fully load.

  • Go back to your Rewardful dashboard and refresh the page. If the STEP 1 tracking script is correctly placed it will confirm your Rewardful initial dashboard setup.

  • If there's no confirmation, please chat with us or email us so that we'll check things for you.

V. Referrals are not tracking? Check the following (Troubleshooting)

Make sure that:

  • The Rewardful tracking script is installed as described in this article.

  • The Stripe Payment Link has “Save Payment Details for Future Use” enabled.

  • The custom script was added under Footer Tracking (not Header).

  • You tested using an incognito window.

  • If you still see the issue, reach out to our support team, and we’ll be happy to take a look.

Did this answer your question?