#rohith_webhooks

1 messages · Page 1 of 1 (latest)

tame grottoBOT
#

👋 Welcome to your new thread!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1211996907380154370

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!

lone flareBOT
vital flare
#

The eventId you've shared is checkout.session.completed

boreal crater
#

eventId evt_1OoONOCdRI7rcOCIh9IS57Av

vital flare
#

You have the period in lines.data[0].period

boreal crater
#

I saw period_start and period_end under object which has same date

#

There is one more thing.
When I added pricing table, I have edited conformation page redirect to my localhost. But it is not working

vital flare
#

I saw period_start and period_end under object which has same date
No it's not the same date:

            "period": {
              "end": 1711537146,
              "start": 1709031546
            }
#

Please double check

vital flare
boreal crater
#

Did you mean pricing table id

vital flare
#

Yes

boreal crater
vital flare
# boreal crater

You are looking at the wrong place, please refer to what I've shared with you earlier: lines.data[0].period

vital flare
#

Ok the redirection is set and I see your link http://localhost:5173/success

#

How did you make your tests ?

boreal crater
boreal crater
#

I will check now and confirm it

vital flare
#

I just made a test and the redirection is working fine.

boreal crater
#

It is not working on mine

boreal crater
#

I have tested in ordinary html it is still not working

#

Can you show me how did you do?

vital flare
#

Are you seeing the pricing table at least ?

boreal crater
#

yes

vital flare
#

after completion what are you seeing ? can you share some screenshots or recording ?

boreal crater
gusty swan
#

hi! I'm taking over this thread.

#

can you share your pricing table ID (prctbl_xxx)?

#

is it this one? prctbl_1Oh9BbCdRI7rcOCIEeLwEEPv

boreal crater
#

Yes

gusty swan
#

thanks! give me a few minutes to look into this.

boreal crater
#

ok

gusty swan
#

are you sure you are using this Pricing Table ID? can you share your code?

boreal crater
#
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table
  pricing-table-id="prctbl_1Oh9BbCdRI7rcOCIEeLwEEPv"
  publishable-key="pk_test_51HkpbmCdRI7rcOCIuJJ83ln8xZiJV65ydgncPvT3yc0MqK2HJKVmLjsR2A7ttU2jOebWWA4B5I7KRqja6PFHXAoI00nzMHkq4d"
>
</stripe-pricing-table>
gusty swan
#

you only set a redirect URL for the prmium plan:

#

the other plan have a convirmation page setup:

boreal crater
#

Ok

#

So, I need to change in all the plan

#

My bad

#

If I have doubt pricing plan or subscription in which section I need to click and fill in help channel

gusty swan
#

I'm not sure I understand your new question. can you clarify?

#

if you have a new question, you can jsut write it here

boreal crater
#

Stripe support have new method for asking question
If I have doubt pricing table or subscription inside stripe in which section I need to click and fill in help channel

gusty swan
#

I just told you: if you have a new question, just post it here in this thread and I can help

boreal crater
#

This thread won't shut down like the last method did after a while.

gusty swan
#

yes after some time we automatically close the thread, but then you can create a new one. and which button to click depends on your exact question.

boreal crater
#

Ok

#

Thanks for the support