#stickage.
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- stickage., 17 hours ago, 3 messages
Hello!
What's up?
I am using Make to automate sending invoices after the customer has filled out a TypeForm with a Stripe Checkout. I need to access the payment metadata (specifically response_form_id) that Type form pushes to Stripe, but I am having trouble accessing the payment metadata on Make. I am monitoring succeeded charges using a webhook, but that isn't providing me with the metadata. I see the appropriate metadata entries when on my stripe account under the payments tab, but they aren't showing up on Make. I contacted make and they responded with: "Please try using Payment Intents modules in Stripe, if that does not help you with Metadata, please contact Stripe to get the supported API endpoint for action you are looking for, If in case it is unavailable inbuilt in Make, 'Make an API Call' module can be used to make a custom call." I tried using the suggest modules but to no avail. Regarding the second solution the agent provided, what supported API endpoint would work for getting the metadata from payments?
Let's talk here please!
You mentioned you're using a webhook; what Event type(s) are you listening for?
Yes, I am monitoring Charges Succeeded
It sounds like the metadata you want is on the Payment Intent, not the Charge. Have you tried listening for payment_intent.succeeded instead?
I will try that now. Just a moment!
Nope, still nothing. "Metadata" is shown as a collection, but it appears to be empty, with no dropdown menu to select items from. Same as when trying to monitor charges.
Can you give me the Event ID of the Event you got with no metadata? Should start with evt_.
Yes, I will find that now. However, I want to share this with you, incase its of any relevance:
evt_3Oj3x6F3teeBgKpk0blBOSaP
๐ jumping in here as Rubeus needs to step away soon
give me a few to take a look
the metadata seems to be there no?
typeform_form_id: "SGNC6mUZ",
typeform_response_id: "4bf3mt9fphuybmm1s4bftnuvbuupz81n"
},```
Yes you are right. To be fair, this was not an event that was captured by the webhook, but before I set all that up. I have not received any successful charges or payment intents after beginning monitoring with the webhook.
How can I look for that metadata for future events, such as charges and payment intents?
I'm not sure I grasp your question.
You mentioned that metadata shows up empty on payment_intent.succeeded event but in the example you shared, metadata is there.
My initial problem is that when a client fills out a Typeform form (which has a Stripe checkout), Stripe creates a "Guest Customer" which doesn't have the client's email address. To send them a reciept, I need to enter Stripe, manually select the payment, click send reciept, and manually enter the email address. I would like to automate this process using Make, seeing as my form requests collects emails, addresses, and all other relevant information that isn't passed to stripe.
One thing that is passed to stripe is the typeform_response_id metadata. Upon a successful payment intent or charge, I would like to compare this metadata to Typeform's responses to grab the correct response from typeform and the relevant data like email address. However, it when I use a webhook and monitor succeeded payment intents, the metadata collection is empty. Do you think I need to wait for at least one succeeded payment_intent while monitoring for Make to acknowledge that the metadata contains two items: "typeform_form_id" and "typeform_response_id" ?
Because yes, when I am in Stripe, I can easily find the meta data I am looking for! both in the event and in the payments tab
Gotcha. Are you aware that Stripe checkout can send the receipt to customers automatically on successful payments?
https://dashboard.stripe.com/settings/emails
There's a setting for that here^
and this will work even for "guest customers" who dont have emails attached to their account?
yup, checkout will still collect email from guest customers.
If you already have the email on your end then you can also just prefill that using customer_email parameter when creating the checkout session
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_email
The thing is that I am not creating the checkout session myself, Typeform technically is. Like this:
Umm I think there's some confusion in the "Stripe Checkout" term we're using
Stripe has a product called "Stripe Checkout" which is a stripe hosted payment page
https://stripe.com/docs/payments/checkout
Is that what you're referring to?
From the screenshot you've shared, Typeform seems to be using Card Element instead
(also we're not super familiar with how typeform based integration works since it's a third-party interface)
I see. So the Card Element that TypeForm uses creates guests that contains only names and payment information. If I want to be able to create customers with email addresses I will need to use a seperate, stripe hosted payment page, the "Stripe Checkout"?
To be honest, I don't fully know about typeform integration so I can't 100% confirm if they can create customers with emails or not. Stripe Hosted Payment page is an alternative flow.
Let me look at the recent requests on your account to understand how typeform does things...
I appreciate your effort hanzo. Thank you
from the small amount of research I have done, they don't include email address information when creating guests. Which is why I sought out Make to send out those emails automatically.
yeah okay so they seem to be creating payments using PaymentIntents API on your account.
I don't see them creating customer objects..
So the easiest way to send receipts without changing a lot of things in your integration would be to:
-
listen to
payment_intent.succeededevents (which should have the metadata with the typeform info object) -
Using that to find the relevant email address on your end
-
Then calling the Update PaymentIntent API which sets
receipt_emailon the PaymentIntent, that should trigger an automatic receipt after the payment is complete
https://docs.stripe.com/api/payment_intents/update
https://docs.stripe.com/receipts?payment-ui=direct-api#:~:text=To trigger an
you don't need to listen to charge.succeeded events really
Your first step is where I am stuck currently. I am listening to succeeded payment intents, however, I am not sure how to grab the typeform info object from the metadata collection. The screenshot below is from a tutorial and it shows what I am trying to achieve. Object: Metadata: typeform_response_id. However, when I try to search through the payment_intent data all I see is Object: Metadata . How is it that they are able to grab the typeform info object?
hmm I couldn't say really ๐ฆ I'm not familiar with typeform stuff (no one on our team would be since it's a third-party tool)
forgive me if this is become more about Make than Stripe. I think I just misunderstand something fundamental about how apps communicate with one another
have you tried reaching out to their support team?
I have tried reaching out to Make, but maybe I wasn't specific enough. I can try again with the my new knowledge. Thank you.