How to take data and action after a payment

(Ilaria Di Lecce) #1

Hello, I’m not understanding how to go on after a user makes a payment.

I used a Sell a Product action and then I want to send a message and add the “payment done info” in my google sheet, but I don’t know how to check that the payment is done. I thought to add a new customer on Stripe but I’ve got nothing to filter the action.

Any suggestions?

(Daniel Beckett) #2

Hi @Ilaria_Di_Lecce

You’ll usually need to set up 2 flows to handle payments:

A ‘Request a Payment’ or ‘Sell a Product’ action to prompt the user to begin the payment flow (when the user makes their choice or clicks the pay button, they’ll be taken through the checkout).

A ‘Receive a Payment’ trigger, which starts a flow every time you receive a payment. The trigger has details of the user and the payment, so it’s easy to send a message back to the user to confirm the payment, or send yourself an email to fulfil the order.

In the flow that’s triggered using ‘Receive a Payment’ you can also add in the actions for your Google Sheet.

(Ilaria Di Lecce) #3

Hi Daniel,
I read the payment guide but I don’t understand the ‘Receive a Payment’ trigger. I don’t know how to set up filters in order check when the user clicks the pay button and then when I received a payment. Is there an example I can see?

(Daniel Beckett) #4

The trigger will activate whenever a payment is received so you don’t need any extra filters etc.You just carry out whatever actions you want in the flow that’s using the Receive a Payment trigger.

1 Like