#mattbevis_webhooks

1 messages ยท Page 1 of 1 (latest)

wet forumBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ 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.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— 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/1356955079143460966

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

spark mason
#

They're set on the Charge object, so you'd need to retrieve that from the API, or listen for a charge.* event

thick fjord
#

but that url expires after 30 days if im not mistaken

spark mason
#

Correct

thick fjord
#

is there a url I can get that doesn't expire aftter 30 days?

spark mason
#

There is not. The URL would still be accessible, we'd just generate a new one and send it to the email address associated to the payment

thick fjord
#

ok... what if they change there email after the payment has been made?

#

would they still have to use the old email address?

spark mason
#

Yes

#

We'd only send the new receipt/URL to the email address associated with the payment

thick fjord
#

ok

#

and last question on that charge updated event any reason why the receipt number would be coming through as null

spark mason
#

Got an example?

thick fjord
#

like code or a charge id?

spark mason
#

Well the evt_xxx ID you referenced

thick fjord
#

ahh

spark mason
#

I'd guess it's null because no receipt has been sent (it's test mode and we don't send them automatically)

thick fjord
#

evt_3R9P3mRsAFHOkz1y0TuLs6I6

thick fjord
spark mason
#

You can manually send the receipt via the Dashboard and that should populate the field

thick fjord
#

ok

#

so just to confim if this isn't in test mode it will come back with a receipt_id?

spark mason
#

If you have receipt sending turned on and we email a receipt in live mode, yes receipt_number will be populated

thick fjord
#

I assume thats a setting somewhere

wet forumBOT
spark mason
thick fjord
#

successful payments โœ…

spark mason
#

Great!