• Resolved ashslayer

    (@ashslayer)


    Hello,

    I’ve got the plugin active and I like how seamlessly it connects to stripe, so a BIG thank you to the author.

    There’s only one thing I’m trying to achieve.. I want to pass the name field’s value as a query string when the page redirects after successful form submission so I can use it in the thank you page. Can you please please let me know how I can make this possible?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Spencer Finnell

    (@spencerfinnell)

    Hello @ashslayer

    There is not a way to redirect back with the “Name on card” field value in the URL query string because the redirect URL is defined before that data is collected.

    However you can access the Customer/Payment that was created via Stripe Checkout and retrieve the billing name from that. I’ve put together a small code sample that shows how to access this information:

    https://gist.github.com/spencerfinnell/52188c2e94759e06547e7342ebe003aa

    Hopefully that lets you retrieve the data in a way you can use it.

    Thread Starter ashslayer

    (@ashslayer)

    Hi Spencer, thanks so much for the snippet. That’ll help me play around with it.

    One last question. How can I populate the transaction description everytime parameter of the transaction when someone pays through the simple pay form I created? I want to filter these transactions using zapier and right now I’m only filtering them via amount. Is there anyway I can filter only these transactions sent via a certain simple pay form in zapier?

    Thanks for your time!

    Ash

    Plugin Author Spencer Finnell

    (@spencerfinnell)

    Hello @ashslayer

    The payment’s description is set by the “Item Description” setting in the form’s “Stripe Checkout Display” setting tab.

    If you’d like to use a dynamic or custom value you can filter this with the following code snippet: https://gist.github.com/spencerfinnell/3eb143439036489d209981c921419fd5

    Plugin Author Spencer Finnell

    (@spencerfinnell)

    Hello @ashslayer,

    It has been several days since hearing from you. I am going to mark this ticket as resolved. If you need further help feel welcome to reply again.

    Thread Starter ashslayer

    (@ashslayer)

    You’re the man Spencer! Gave a 5 star review for the plugin and the awesome support. Keep up the great stuff.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert query string with inputted user value’ is closed to new replies.