# Integration or Embedding? Stack overflow(( Help please

**URL:** <https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565>\
**Category:** Ask for Help\
**Created:** [January 23, 2022, 4:04am UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565 "2022-01-23T04:04:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 23, 2022, 4:04am UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/1 "2022-01-23T04:04:04Z")

</div>

Glidermans, hello!  
Am connecting local payment provider (Stripe does not work in our country), so there are two ways - but stacking on both.  
Please help me to choose the right direction.

1. FIRST WAY, should be easiest, but((…  
We have embed the payment form on “our website”, according to the payment provider rules & template.  
Since our app is PWA, then “our site” is the content collecting in the constructor. I made the form through the provider template, but can’t understand how to embed or open a needed link. Seems there could be a few options, - which is better?  
a) To show by the Rich Text Component: but it shows as a code, not as a page, see screenshot.  
b) To show by Webview: gives an error, does not show.  
c) To open Link: but this is no link.  
Please see what is it and which way i need to use?  
**===Payment template code looks like**  
I’ve tried to paste it here, but it was not showed - there is a picture  
**=== end of payment template.**  

2. SECOND way, by API integration  
I submitted a HTTP request to the Integromat by Webhook,  
get there the URL of the payment page.  
Then unfortunately there is no way (?) to open user browser by the getting URL inside Intehromat, to make the payment, so need return with getting URL via GS to Glide.  
But time has already passed there and the next in line Action (going next after Integromat calling) with Open Link is no longer waited for an answer from the Integromat. So does we need to put a separate second button for payment (and the first one was already for payment)?.. But even after the second button we would still have to wait for a notification of successful payment! This is already the third step of payment transactions - shall we put even a third button to be set, to finalize the payment total? Something is not right - too many steps for user in one payment(  

===  
Does someone solve similar trouble? Which way is better?  
Thank you very much in advance

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 23, 2022, 4:09am UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/2 "2022-01-23T04:09:04Z")

</div>

I recommend webview, but you’ll need to find a hosting platform that works with Glide…if you can build off of vercel, I know that’s been known to work.

> **[New Project – Vercel](https://vercel.com/new/clone?s=https:%2F%2Fgithub.com%2Fvercel%2Fvercel%2Ftree%2Fmain%2Fexamples%2Fnextjs&template=nextjs&id=67753070&b=main&from=templates)**

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 23, 2022, 4:11am UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/3 "2022-01-23T04:11:14Z")

</div>

you have to generate a payment link, and use it in a button to open a webview… then collect response via webhook to update your google sheet

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 23, 2022, 4:13am UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/4 "2022-01-23T04:13:24Z")

</div>

What @uzo said…I discuss this here (albeit a stripe solution):

> [@gem\_stone Monetize your membership app using Payhere + Make (Updated 2024)](https://community.glideapps.com/t/create-a-membership-app-using-payhere/26646):
>
> Updated 2024! wave Hey fellow Gliders! I just released a 3-part series on using [Payhere](https://payhere.co/?affiliate=aYXvr) + [Make](https://www.make.com/en/register?pc=robert) to monetize a Glide app! Since Glide doesn’t offer a native way of monetizing an app or accepting payments, we need to build it ourselves. I’m starting the series with demonstrating how to accept one-off payments and how to create membership apps by allowing users to subscribe to an app in order to gain access to premium content hidden behind a paywall. popcorn Enjoy! Part 1: The Setup [[M…](https://www.youtube.com/watch?v=BNZtlZkyZvs)

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 23, 2022, 4:14am UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/5 "2022-01-23T04:14:53Z")

</div>

I’m doing it with google scripts… so I can modify sheets according to the webhook response.

> **[Stripe buy button - DEMO](https://stripe-button-demo.glideapp.io/dl/ewAiAHQAIgA6ADAALAAiAHMAIgA6ACIAYwBsAGEAcwBzAC0AUwB0AHIAaQBwAGUAIABiAHUAeQAgAGIAdQB0AHQAbwBuACIALAAiAHIAIgA6ACIARwBiADgAdwBzAFkAZgBXAFIANABPAGUAOABSADAASwBOAGcAYgBXAGUAZwAiACwAIgBuACIAOgAiAFMAdAByAGkAcABlACAAYgB1AHkAIABiAHUAdAB0AG8AbgAiAH0A)**
>
> Customized Stripe button, no Glide fees, no PRO subscription, no Zappier or Integromat... writes back transaction info to Google Sheet, increment sold items.

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 23, 2022, 4:46pm UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/6 "2022-01-23T16:46:19Z")

</div>

@Robert_Petitto **strong text** Robert, thank you very much, 🙏  
Am going to discover) 🚴‍♂️

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 23, 2022, 4:55pm UTC](https://community.glideapps.com/t/integration-or-embedding-stack-overflow-help-please/37565/7 "2022-01-23T16:55:56Z")

</div>

@Uzo Uzo, thank you very much, appreciate 🙏

But the payment system which i am connecting with determine they need just a POST Request, not approve GET request. So to call this POST request, I use Action Set, where step 1 is Trigger Hook to Integromat, where the Post Request is placed.  
And what we need to have a parameter for Webview there?

Understand about collecting response via webhook to update the google sheet.
