#Leo17

1 messages · Page 1 of 1 (latest)

empty girderBOT
wheat fiber
#

Hi there, by no-code checkout, do you mean PaymentLink?

slow thistle
#

yea

#

I'm just doing a test, and it said the webhook 403's

wheat fiber
#

Can you share with me the event ID?

slow thistle
#

where do i get that

wheat fiber
slow thistle
#

evt_1M0FTRI0ZiaGpskvbOgNikwH

wheat fiber
#

OK, this event wasn't sent to any webhook endpoint.

#

Have you setup a webhook endpoint?

slow thistle
#

can i use my payment link as the endpoint url?

wheat fiber
#

No, a endpoint is where Stripe sends webhook events to

slow thistle
#

oh ;p

wheat fiber
#

It's usually your server.

slow thistle
#

so i'm trying to do this through app script

#

so maybe i'm confused

#

What I'm trying to do is after someone signs up using my payment link, I want to have that send a notfication where I can have My Google Apps Script Add-on pull whether or not payment was successful or not

#

My understanding after reading the documentation was that Stripe can use the Payment Link and send a webhook to notify if it was created or not?

wheat fiber
#

Yes you are right. So you need to specify a URL (e.g., the URL to your Google Apps Script app) so that Stripe can send the webhook event to, you also need to register checkout.session.completed for your webhook endpoint so that it will get notified when such event occurs

slow thistle
#

If the Add-On is still in development, how do I get a URL?

wheat fiber
#

I'm not familiar with Google Apps Script development, perhaps you want to reach out to Google Apps Script team?

slow thistle
#

So to be clear, Stripe can do all the subscription management and we can use logic to filter through webhooks to check subscription status vs. having to incroproate something like Firebase or another database?

wheat fiber
#

It's not mandatory to use Firebase, you can use any server of your choice to set up a webhook endpoint.

slow thistle
#

So Stripe can be standalone?

wheat fiber
#

Standalone as in?

slow thistle
#

As in: someone uses add-on, add-on checks Stripe for subscription status

#

Can I basically avoid backend work by using your Subscription Service?

#

Do it all front-end, Add-on Loads, verifies subscription status with Stripe?

wheat fiber
#

I need to work on something, can I get back to you later?

slow thistle
#

sure!

#

any help is appreciated, this subscriptoin is the last part of before we can publish and i'm pretty confused lol

slow thistle
#

My dev is asking, "Can we avoid making our own backend, and just simply rely on Stripe's subscription service?"

#

Where our goal is to just know, are they paying or unpaid customers

wheat fiber
#

Hi thanks for waiting.

#

It's recommended to set up a webhook endpoint, so that your system can still get notified of the payment result even if your frontend app is unable to because of network problem.