#Tfaroo | Wzrd Support

1 messages · Page 1 of 1 (latest)

civic stumpBOT
fading aurora
#

Please don't use everyone. How can we help?

mellow pilot
#

Sorry for that.

#

Is there a way on stripe to get additional data from the customer when s/he paid for the subscription?

fading aurora
#

Which additional data are you looking for?

mellow pilot
#

I want that customer give the discord server id, when paid for the subscription.

fading aurora
#

How do you accept payment from them?

mellow pilot
#

with a link.

fading aurora
#

Um like Payment Link?

#

If they don't input it anywhere, how can you retrieve it?

mellow pilot
#

There should be some required field.

mellow pilot
fading aurora
#

I mean, if you don't even know how your customer give that information in the first place, you wouldn't be able to retrieve it

#

All the information Stripe has is inside the webhook event (customer.subscription.created or checkout.session.completed)

fading aurora
#

Let me try again. When you have a Subscription created, do you listen to webhook events?

fading aurora
#

Then you can start with listening to them. Recommend events are checkout.session.completed

#

It contains everything we know from the transaction

mellow pilot
#

@fading aurora

fading aurora
#

As I said, you need to collect that information first, we don't collect it automatically

mellow pilot
#

and add in the transaction object.

fading aurora
#

How did you create the link for payment in the first place?

mellow pilot
fading aurora
#

You can configure the client_reference_id here and prefill the value of server id when creating a link you send to users on a specific server

night sparrow
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!