#Auzzy - customer ID
1 messages · Page 1 of 1 (latest)
How do I get it to be dynamic, and fetch the relevant Stripe Customer ID and Stripe Charge ID values each time a purchase takes place.
Are you programming directly to our API to create customers?
When/where are you creating customers?
This is for an affiliate program. So they will have already paid. Just trying to get information to Tapfiliate.
I am unfamiliar with this flow, so some time after making a payment, you need to send this info to Tapfiliate?
What info on the payment do you have when you are at this step?
Their name, email address and credit card information.
You can list your customers by email https://stripe.com/docs/api/customers/list#list_customers-email
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So if you are not creating a new Customer for each transaction, you can look them up that way
Actually, at this point in your flow, do you have a reference to the PaymentIntent or Charge that was used to take payment from your user?
Those should have a customer field with the ID that you need
If i use tap('trial', 'customer'); will that automatically pull the customer id?
That is Tapfiliate code, it would be best to ask Tapfiliate how to use that
They told me contact you guys
We do not develop the code behind the tap function, only they can speak to that code.
Have you been able to look in to the Stripe API code solutions that I mentioned?
The only thing is see is "id" that has the customer id