# How I dynamically generate payment pages with PayRequest

**URL:** <https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941>\
**Category:** Ask for Help\
**Created:** [January 9, 2021, 4:53pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941 "2021-01-09T16:53:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [January 9, 2021, 4:53pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/1 "2021-01-09T16:53:33Z")

</div>

Hi all, a little demo.

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/c/9c57d67dc27a5c3084bf555794977a78cd461c56.jpeg "How I use PayRequest to dynamically generate shop-pages.") ](https://www.youtube.com/watch?v=M3W0raYk_YI)

@PayRequest_Team see what I did and why a whitelisted Glide for embeds would be nice!

---

<div class="post-metadata">

**Author:** ![Rosewebstudio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rosewebstudio/32/12261_2.png) [@Rosewebstudio](https://community.glideapps.com/u/Rosewebstudio)\
**Post date:** [January 9, 2021, 4:57pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/2 "2021-01-09T16:57:44Z")

</div>

@erwblo like it 👍

Will definitely be looking at this as an option for dynamic payments

Thanks for putting the demo together

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [January 9, 2021, 5:07pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/3 "2021-01-09T17:07:30Z")

</div>

Ty @erwblo for this tutorial! Keep up the good work 🕶

Agreed it would be nice to keep it in webview.

---

<div class="post-metadata">

**Author:** ![goodeideas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/goodeideas/32/18700_2.png) [@goodeideas](https://community.glideapps.com/u/goodeideas)\
**Post date:** [January 9, 2021, 5:08pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/4 "2021-01-09T17:08:57Z")

</div>

Good stuff

---

<div class="post-metadata">

**Author:** ![ehdubya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ehdubya/32/24087_2.png) [@ehdubya](https://community.glideapps.com/u/ehdubya)\
**Post date:** [January 9, 2021, 5:16pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/5 "2021-01-09T17:16:44Z")

</div>

This is great - thanks so much for the video tutorial!

Some initial questions:

1.) What happens AFTER the payment is complete?

2.) Can you connect the “Completed Purchase” in Glide?

3.) If yes to Question 2., can you create subsequent actions upon completed purchase in either Glide or Google Sheet(s)?

Again - great tutorial! Template trick is 👌

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [January 9, 2021, 5:30pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/6 "2021-01-09T17:30:12Z")

</div>

If you mainly have customers that use a credit card, the Stripe implementation in Glide is really nice and neat. I would do that.

In the Netherlands a lot of people use Ideal, you lose at least 30% of income when people can only pay via credit card. I like PayRequest because it combines a lot of systems.

At the moment PayRequest is an external link. So once you’re out of Glide unfortunately you stay out of glide.

The company is working on a possible embed option and on zapier / webhooks integration. After that there will be more options.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [January 9, 2021, 8:44pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/7 "2021-01-09T20:44:40Z")

</div>

I love this. Great video @erwblo

I used to do this with PayPal but for some reason it’s not possible anymore.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 10, 2021, 12:52am UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/8 "2021-01-10T00:52:13Z")

</div>

Thanks for this Erwin! Very helpful, have a great weekend yourself.

---

<div class="post-metadata">

**Author:** ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)\
**Post date:** [January 10, 2021, 5:35am UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/9 "2021-01-10T05:35:05Z")

</div>

What if you embed payrequest link in WebView component so that user do not need to go outside Glide?  
I have seen @Manan_Mehta did this in one of his App with Razorpay.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 10, 2021, 5:55am UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/10 "2021-01-10T05:55:35Z")

</div>

> [@Pratik\_Shah](#):
>
> What if you embed payrequest link in WebView component so that user do not need to go outside Glide?

Wont work at the moment, but apparently they (PayRequest) may allow it in the near term future.

See here:

> [@Easily create payment links in a lot of countries](https://community.glideapps.com/t/easily-create-payment-links-in-a-lot-of-countries/20638/17):
>
> We opened a (private) issue for this ( iFrame for GlideApps #263) i will update here when we have a solution to make this possible!

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [January 10, 2021, 9:52am UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/11 "2021-01-10T09:52:52Z")

</div>

@Pratik_Shah Yeah, they put in on their todo-list, so hopefully in the near future.

---

<div class="post-metadata">

**Author:** ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)\
**Post date:** [January 10, 2021, 1:33pm UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/12 "2021-01-10T13:33:15Z")

</div>

Oh sorry, I missed to see this post.

---

<div class="post-metadata">

**Author:** ![PayRequest\_Team](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/payrequest_team/32/26554_2.png) [@PayRequest\_Team](https://community.glideapps.com/u/PayRequest_Team)\
**Post date:** [October 13, 2022, 12:09am UTC](https://community.glideapps.com/t/how-i-dynamically-generate-payment-pages-with-payrequest/20941/13 "2022-10-13T00:09:30Z")

</div>

A little bump 🙂  
Currently we have a few Glide apps that use our iframes without the app to support payment requests.  
It’s still a freshly released function but possible.

If you have a Payrequest Personal page, product or request link, just append `iframe` after the url.  
A simple ( fake ) example:  
[https://payreque.st/advertising-sponsor](https://payreque.st/advertising-sponsor)

Will be:  
[https://payreque.st/iframe/advertising-sponsor](https://payreque.st/iframe/advertising-sponsor)

And you can even fill details beforehand:  
[https://payreque.st/iframe/advertising-sponsor?name=John%20Doe&mail=john@doe.com&street=Randomstreet%2012&postal=1234AB&city=Amsterdam&country=NL](https://payreque.st/iframe/smartskate-kunstschaats-jeugd?name=John%20Doe&mail=john@doe.com&street=Randomstreet%2012&postal=1234AB&city=Amsterdam&country=NL)

Before the end of the month we will launch a simple document how to use PayRequest within glide.  
( and how to alter our design to match yours )
