Fungies.io Help Center
  • 🙌Getting Started
  • Customize your online store
    • General Settings
    • Header
    • Footer
    • Add New Page
    • Add Page Section
    • Text Section
    • Image Section
    • Video Section
    • Gallery Section
    • Points Section
    • Slider Section
    • Recent Products Section
    • Custom Style
  • Add Subscription Product
  • Add Digital Downloads
  • Add Game Keys
  • Add Mobile Game Assets
  • Variants of the product
  • 🛠️Workspace Settings
    • Connect your Stripe account
    • Sandbox Mode
    • Team Management
  • 🧮Store Settings
    • Publish your store
    • Previewing The Store
    • Edit Explore / Search Page (Built-in)
    • Edit Product Page (Built-in)
      • Customize Review Categories
    • Set up Custom Domain
      • Migrating your domain to Cloudflare
  • Tax-inclusive Pricing
  • 🤑Getting Paid
    • Test Payments
    • Checkout Choice
      • Hosted Checkout
      • Overlay Checkout
      • Embedded Checkout
    • Global Availability
    • Customer Payment Methods
      • PayPal Settings
    • Billing Details
    • Payouts
    • Editing Statement Descriptor
    • Transactions Reports
    • Example React checkout
  • 👨‍💻FOR SAAS DEVELOPERS
    • Hosted Checkout (more payment methods)
    • Editing and Pausing Subscriptions
      • Downgrading / Upgrading Subscriptions
    • Creating Plans
    • Free Trials and Custom Intervals
    • Redirecting After Purchase
    • Using Webhooks
    • Types of Webhooks
      • Payment Success
      • Payment Refunded
      • Payment Failed
      • Subscription Created
      • Subscription Interval
      • Subscription Updated
      • Subscription Cancelled
    • Getting Started with the API
    • Orders APIs
      • Managing Orders through API
      • Orders List
      • Cancel Order
      • Update Order
    • Managing Subscriptions through API
    • Managing and Creating Users through API
    • Customizing Subscription Confirmation Page
    • Using CustomFields to parse data from your Software / App
      • Parse e-mails from your Software directly to checkout URL
  • Additional charges on top of Subscriptions
  • Upgrading or Downgrading Plans with API
  • Using Fungies.js npm package
    • Next.js 15 integration guide
  • 🎮For Game Developers
    • Orders
    • Platform Fees
    • Users list
    • Integrating with Game's Back-end
    • Customizing Purchase Confirmation Page
    • Webhooks
  • 💲Selling
    • Payment history
    • Selling FREE products
    • Managing Game Keys
    • Managing Game Assets
    • Pricing
    • Fulfillment of Orders
    • Prohibited Business and Products
    • Invoices and Receipts
    • Google Merchant Center XML Feed
    • SEO Sitemap
  • 🚀Marketing
    • Integrations
      • Google Tag Manager
      • Google Merchant Center
      • Trustpilot
      • Google Analytics (via Google Tag Manager)
    • SEO
    • Discount Codes
    • Pricing Localization
    • Language Localization
    • E-mail Marketing
  • 💰Billing
    • Plans and Usage
    • Invoices
    • Payment Methods
  • 🤩For End-Users
    • How to manage your Subscription?
    • How to buy a Game Key?
    • How to buy a Mobile Game Asset?
    • Getting your product
    • Steam key activation
    • Searching for games
    • Product details page
    • Order details
    • Refunds and chargebacks
  • 🗃️Other
    • FAQ
    • Roadmap
    • Product Changelog
  • 📃Legal
    • General Terms of Use
    • SaaS Terms of Use
    • Privacy Policy
    • Cookies and Tracking
Powered by GitBook
On this page
  • How to Configure Instant Redirects After Successful Subscription Purchase
  • Instant Redirect URL Setup
  • Available System Query Parameters
  • Summary
  1. FOR SAAS DEVELOPERS

Redirecting After Purchase

This set up is intended for developers who wish to customize Redirect URL with Custom Parameters after successful purchase from the customer.

PreviousFree Trials and Custom IntervalsNextUsing Webhooks

Last updated 5 months ago

How to Configure Instant Redirects After Successful Subscription Purchase

This guide explains how to set up an instant redirect URL after a successful subscription purchase, including adding query parameters to provide additional information during the redirection process.

Instant Redirect URL Setup

When a user successfully completes a subscription purchase, you can redirect them automatically to a specific URL. This URL can be set to a page on your website, such as a welcome or thank-you page, for example: https://example.com/subscription-success.

You also have the option to include query parameters in the redirect URL to pass important information related to the subscription, such as product IDs or order details.

Step-by-Step Configuration

  1. Enter the Instant Redirect URL: Specify the URL where users will be redirected after they complete their subscription purchase. For instance, you can use:

This URL will act as the landing page after a successful transaction.

Access it here: - under Checkout Tab:

  1. Select URL Parameters: You can select parameters that will be automatically added to the redirect URL from a predefined list. These parameters will be populated dynamically during the redirection process. For example, if you select fngs-product-internal-id from the available parameters, the final URL might look like this:

This allows you to pass relevant information such as the product or order ID to the destination page, which can be useful for tracking or displaying personalized messages.

  1. Add Custom Query Parameters: You may also add your own custom query parameters directly within the URL. For custom parameters, you must make sure to manually or programmatically assign values. For example:

  1. Combining Predefined and Custom Parameters: You can combine predefined parameters from the system and your own custom parameters to construct a more detailed redirect URL. For example:

Available System Query Parameters

All system-generated query parameters are prefixed with fngs to avoid conflicts with user-defined custom parameters. Below is a list of all the available system parameters that you can use:

  • fngs-product-id: The unique identifier of the product purchased.

  • fngs-order-id: The unique identifier of the order.

  • fngs-order-number: The human-readable order number for tracking purposes.

  • fngs-subscription-id: The unique identifier of the subscription.

  • fngs-variant-id: The identifier for the product variant purchased.

  • fngs-offer-id: The identifier for the offer linked to the purchase.

  • fngs-product-internal-id: The internal identifier used for the product.

  • fngs-variant-internal-id: The internal identifier for the variant.

  • fngs-offer-internal-id: The internal identifier for the offer.

  • fngs-quantity: The quantity of items purchased.

  • fngs-user-id: The unique identifier for the user making the purchase.

  • fngs-user-email: The email address of the user.

  • fngs-total-value: The total value of the purchase.

  • fngs-total-items: The total number of items in the order.

  • fngs-country: The country from where the purchase was made.

  • fngs-currency: The currency used for the transaction.

These parameters can be selected and added to your redirect URL to pass relevant details automatically, providing a richer user experience and more detailed tracking.

Summary

  • Enter the Redirect URL: Define where users are directed post-purchase.

  • Select Predefined Parameters: Choose from system-generated parameters like product or order IDs.

  • Add Custom Parameters: Include additional information for personalization or tracking.

  • Combine Parameters: Use both predefined and custom parameters to create a comprehensive redirect URL.

  • System Parameter Prefix: All system parameters are prefixed with fngs to avoid conflicts with custom parameters.

Here, the user and campaign parameters are added manually, allowing you to track specific user information or marketing campaign details.

Ensure that each parameter has a corresponding value, either provided by the platform or manually defined, to ensure smooth redirection without errors.

👨‍💻
https://app.fungies.io/settings/store
Access Checkout tab in Settings -> Store
Scroll down to see the Redirect URL field