PDF is getting delivered even if the payment gets cancelled
Status: Closed ยท Asked by VEDA Wanchoo on ยท 0 views
Hello,
Thank you for reaching out and for flagging this.
To understand the setup correctly, could you help us with a few details:
1. Which Pabbly product and workflow is delivering the PDF (for example, is this part of a checkout/order flow, an automation, or an email notification)?
2. How is the PDF delivery currently configured and triggered?
3. Could you share the order numbers or examples (one successful payment and one failed/cancelled payment) where the PDF was delivered in both cases?
4. A screenshot of the setup and the delivered PDF, if possible, or the workflow name and the URL.
These details will help us trace the exact trigger and confirm why the PDF is being sent regardless of payment outcome. Once we have them, we'll investigate and get back to you.
1. Which Pabbly product and workflow is delivering the PDF (for example, is this part of a checkout/order flow, an automation, or an email notification)?
Email notification
I think in Pabbly we need to make the condition "ON" for product delivery post payment only.
Something is missing.
Conditions to keep the log on or off....
Hello Girja,
Thank you for the clarification.
We have reviewed the workflow setup under Pabbly Connect. The current workflow is configured as:
Razorpay โ Payment Captured โ Google Drive โ Share a File
The PDF is being shared through the Google Drive step after the Razorpay trigger.
Since the requirement is:
Successful payment โ Send the PDF
Failed/cancelled payment โ Do not send the PDF
you need to add a Filter by Pabbly step between the Razorpay trigger and the Google Drive action.
Please configure it as follows:
Razorpay โ Payment Captured
โ
Filter by Pabbly
โ Condition: Verify the Razorpay payment/status field indicates a successful/captured payment
โ
Google Drive โ Share a File
This filter will ensure that the Google Drive step is executed only when the required successful payment condition is met. If the payment does not meet the condition, the workflow will stop before reaching the Share a File step.
Please add the filter condition based on the payment status field available in your Razorpay trigger response, then test the workflow with both a successful and a failed/cancelled payment.