#stickage.

1 messages ยท Page 1 of 1 (latest)

pliant bobcatBOT
#

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.

wraith eagle
#

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?

deft summit
#

Yes, I am monitoring Charges Succeeded

wraith eagle
#

It sounds like the metadata you want is on the Payment Intent, not the Charge. Have you tried listening for payment_intent.succeeded instead?

deft summit
#

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.

wraith eagle
#

Can you give me the Event ID of the Event you got with no metadata? Should start with evt_.

deft summit
#

Yes, I will find that now. However, I want to share this with you, incase its of any relevance:

pliant bobcatBOT
deft summit
#

evt_3Oj3x6F3teeBgKpk0blBOSaP

timid crane
#

๐Ÿ‘‹ 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"
    },```
deft summit
#

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?

timid crane
#

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.

deft summit
#

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

timid crane
deft summit
#

and this will work even for "guest customers" who dont have emails attached to their account?

timid crane
deft summit
#

The thing is that I am not creating the checkout session myself, Typeform technically is. Like this:

timid crane
#

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)

deft summit
#

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"?

timid crane
#

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...

deft summit
#

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.

timid crane
#

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:

#

you don't need to listen to charge.succeeded events really

deft summit
#

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?

timid crane
#

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)

deft summit
#

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

timid crane
#

have you tried reaching out to their support team?

deft summit
#

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.