Title: Insert query string with inputted user value
Last modified: August 30, 2020

---

# Insert query string with inputted user value

 *  Resolved [ashslayer](https://wordpress.org/support/users/ashslayer/)
 * (@ashslayer)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/)
 * 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)

 *  [Spencer Finnell](https://wordpress.org/support/users/spencerfinnell/)
 * (@spencerfinnell)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/#post-13340020)
 * Hello [@ashslayer](https://wordpress.org/support/users/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](https://gist.github.com/spencerfinnell/52188c2e94759e06547e7342ebe003aa)
 * Hopefully that lets you retrieve the data in a way you can use it.
 *  Thread Starter [ashslayer](https://wordpress.org/support/users/ashslayer/)
 * (@ashslayer)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/#post-13351328)
 * 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
 *  [Spencer Finnell](https://wordpress.org/support/users/spencerfinnell/)
 * (@spencerfinnell)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/#post-13351959)
 * Hello [@ashslayer](https://wordpress.org/support/users/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](https://gist.github.com/spencerfinnell/3eb143439036489d209981c921419fd5)
 *  [Spencer Finnell](https://wordpress.org/support/users/spencerfinnell/)
 * (@spencerfinnell)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/#post-13363562)
 * Hello [@ashslayer](https://wordpress.org/support/users/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](https://wordpress.org/support/users/ashslayer/)
 * (@ashslayer)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/#post-13363607)
 * 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.

 * ![](https://ps.w.org/stripe/assets/icon-256x256.png?rev=2784844)
 * [Stripe Payment Forms by WP Simple Pay - Accept Credit Card Payments + Subscriptions with Stripe](https://wordpress.org/plugins/stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe/reviews/)

## Tags

 * [query](https://wordpress.org/support/topic-tag/query/)
 * [Query String](https://wordpress.org/support/topic-tag/query-string/)

 * 5 replies
 * 2 participants
 * Last reply from: [ashslayer](https://wordpress.org/support/users/ashslayer/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/insert-query-string-with-inputted-user-value/#post-13363607)
 * Status: resolved