#edutomesco

1 messages ยท Page 1 of 1 (latest)

small muralBOT
patent flume
#

This looks to be a Checkout Session?

tidal zephyr
#

Yes it's a checkout session

#

by code can I personalize more?

patent flume
#

What specifically do you need to change?

#

Overall, not really

tidal zephyr
#

Okey so just I can adjust by dashboard

#

another question how can I edit a billing threshold in a subscription by checkout?

patent flume
#

What do you mean by the 'billing threshold'?

tidal zephyr
#

definde a threshold

#

you have this functionallity when a user arrives to these you charge him

patent flume
#

They can't be set via the Checkout API no

#

You'd need to edit the sub_xxx created by Checkout if you want to impose a threshold

tidal zephyr
#

sorry

#

I'm trying the localhost triggering webhook cli

#

and it says to me: webhook had no valid signature

#

I follow all the steps to generate the event

soft needle
#

๐Ÿ‘‹ happy to help

#

you'd have to verify the event signature as described here

tidal zephyr
#

I follow this

#

exactly

#

but doesn't work

soft needle
#

did you copy the webhook endpoint secret generated by the CLI?

tidal zephyr
#

aaahhh

#

I think it's this

#

how can I send a webhook locally

#

but I need to fake a subscription

#

because the checkout.session.completed doesn't send a subscription id

soft needle
#

are you using the Stripe CLI?

tidal zephyr
#

yes

soft needle
tidal zephyr
#

yes

#

but I want to recreate this with the webhook cli trigger

soft needle
#

which part?

#

the checkout.session.completed event with a subscription id on the Checkout Session object?

tidal zephyr
#

yes

pallid silo
tidal zephyr
#

CheckoutSession directly yourself that uses mode:"subscription"

#

I can do this by the CLI