• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Payment Popup Window Related

[Support request] Payment Popup Window Related

· ·

Home › Forums › Stripe Payments Plugin › Payment Popup Window Related

Tagged: hooks

  • This topic has 1 reply, 2 voices, and was last updated 2 days, 18 hours ago by Admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 4, 2025 at 6:41 pm #5622
    Robert
    Participant

    Is there a hook to add post data? I have a pricing calculator, and I want the button to add the total amount in the popup amount field automatically. Is that possible?

    September 5, 2025 at 2:53 am #5623
    Admin
    Keymaster

    The price of a standard product can’t be modified dynamically in that way, as it will cause the security and verification process to fail.

    It’s not an advertised feature of the plugin so code customization will be required for this.

    The best options I can suggest for achieving a customized solution are:

    Option 1:
    Use a “Donation” type product (which allows any amount). In the payment popup window, you can add your own JavaScript code—using the available action and filter hooks—to perform calculations and update the amount field. The following hooks will let you add output (HTML, JavaScript, CSS) to the payment window:

    Stripe Payments Plugin – Filter Hooks Reference

    If needed, additional hooks can be added.

    Option 2:
    Use the plugin’s feature for creating a payment button dynamically. With this method, you pre-calculate the amount and then embed or create a payment button with that calculated value. The plugin will generate a dynamic product, ensuring the price verification process does not fail.

    Creating a Payment Button by Dynamically Adding Item Details in the Shortcode

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.