When a user buys something through my app, it creates an order. Creating the order occurs on the workflow before the payment is taken (I have to use the value of the order to know how much to charge the user) so if that payment doesn’t go through, I want to delete the order that was created. To do this I’m using a “Delete a Thing” action on the workflow but…
…I’m not sure what option to specify when the Payment fails in the “Only when” list. I’ve tried Only when the Charge ID is blank but this did nothing. I was assuming the charge ID would only be assigned when payment was successful. Can anyone advise?