#RzSlim

1 messages · Page 1 of 1 (latest)

orchid oracleBOT
digital dawn
#

hello !

thin tusk
#

how are you accepting payments? via Checkout?

#

Hello

digital dawn
#

Thx for the prompt reply,

#

yeah, creating a checkout session, but there is no user information to the checkout

#

it's an anyonymous checkout in other words

#

So i am collecting shipping information but i dont have a hardcore custom implementation for the shipping price

#

i could always have a cloud function listen for a webhook event and then update the session's shipping options but would that even update the checkout session in real -time ?

#

i've struggled with this in the past for a client integration and had to collect the user's location prior to initiate the checkout and passing that information to a shipping api to generate a price, and passing that over when creating the session, but the client does not have the funds for this implementation , so i'm looking for a quicker alternative

thin tusk
#

Yeah unfortuantely there's no dynamic shipping rate functionality with Checkout currently

#

You would need at the very minimum your own form to collect shipping address if you want to handle shipping rates dymanically like that

digital dawn
#

but lets say i'm on the checkout page,

#

are there webhooks that i can listen to for adress change on the checkout page ?

#

and so immediately on change run a callback event ?

thin tusk
#

No

#

And there's not a way to update the session via api either

digital dawn
#

ahh.. okay

#

oh , so once it's created you can't modify it's state

#

?

thin tusk
#

You can expire an active one

#

That's about it

digital dawn
#

Darn , okay

#

hey i swear i've seen checkout process that look identical to stripe, but that are multi-step and allow adress collection

#

i know it's not stripe related but maybe you've heard this before ?

thin tusk
#

You can build that yourself with Stripe on your own checkout page

#

Using the address element and payment element

digital dawn
#

Ok right on so stripe elements would be the quickest secondary option

#

i really appreciate your help, thanks plenty !

thin tusk
digital dawn
#

and this works in checkout session ?

#

oh, no elements

#

ok awesone, yes i will look into those

#

thanks for the links, i will save those right away

thin tusk
#

No problem