💰
elementor pay addons
  • 👋Welcome to Elementor Pay Addons
  • Getting started
    • âš ī¸Prerequisites
    • đŸ’ģInstallation
    • âš™ī¸Settings
    • â„šī¸Webhook Configuration
  • Elements
    • 🛴Checkout Button
    • ✅Confirmation Summary
    • 🚲Price Table Checkout
    • đŸī¸Checkout Credit Card Form (Pro)
    • đŸŽī¸Checkout Element Form (Pro)
    • 🚀Checkout Redirect Form (Pro)
  • FEATURES
    • Email Configuration
    • Decimal Form Field (Pro)
  • Customize confirmation page (Pro)
  • Developer APIs
  • Dynamic Tag PHP
  • Dynamic field by request parameter
Powered by GitBook
On this page
  • How to Use a URL Query Parameter as a Payment Price
  • Step-by-Step Instructions:
  • Testing by giving an amount parameter in the URL

Dynamic field by request parameter

When pricing or quantity requires pre-fill values from request parameters such as URL, our plugin supports retrieving these values and filling them directly into payment fields.

PreviousDynamic Tag PHP

Last updated 22 days ago

How to Use a URL Query Parameter as a Payment Price

The core idea is to add a hidden form field and leverage Elementor Dynamic tags with Request Parameters to prefill values from the URL. Then, in your payment settings, you can use shortcodes to link the form value with your payment process.

Step-by-Step Instructions:

  1. Create a hidden field for the amount or even the price ID for a subscription

  1. Given a meaningful field ID and click the dynamic tag icon in the Default Value input box

  1. Choose Site → Request Parameter from the dynamic tag list and select GET type

  1. Copy the generated shortcode, then in the "Actions After Submit" list, add "Credit Card Submission" - this will display the Credit Card Submission tab where all your payment settings are located

  2. Find the amount field in the payment settings and paste the shortcode.

Testing by giving an amount parameter in the URL

Test your setup by adding a amount parameter with a value in the URL, such as:

https://example.com/?p=1336&amount=100