Payment Retry - How to not retry given specific scenarios?

63 views
Skip to first unread message

David Camoleze

unread,
Nov 1, 2023, 9:53:03 AM11/1/23
to Kill Bill users mailing-list
Hey hello,

We have in our business case some retry rules which are being satisfied by setting up the payment failure retry parameters.

However, we have a specific scenario where the payment gateway returns a fraud error, in this case we cannot retry the payment. How can we achieve this scenario without customization?

We were thinking about using the plugin_failure error for that and try to turn off the retry for this type of error. Is this possible?

David Camoleze

unread,
Nov 1, 2023, 10:41:15 AM11/1/23
to Kill Bill users mailing-list
We managed by putting 0 on MAX RETRIES.

One other question, just confirming, there is no retry for payments in PENDING status right? Because in that case we are waiting for a async response from the gateway. We would like to confirm because we saw this parameter in the documentation:

org.killbill.payment.janitor.pending.retries/

 

KB_org_killbill_payment_janitor_pending_retries



Reshma Bidikar

unread,
Nov 3, 2023, 2:55:50 AM11/3/23
to Kill Bill users mailing-list
Hello,

The Kill Bill Janitor mechanism simply attempts to fix PENDING/UNKNOWN payment status in the internal Kill Bill tables by querying the PaymentPlugin.getPaymentInfo method.  It does not attempt to retry the payment.

See the relevant docs:


The org.killbill.payment.janitor.pending.retries property specifies the schedule to run the Janitor mechanism for PENDING payments.

Hope this answers your question, if not please feel free to get back.

Regards,
Reshma


Reply all
Reply to author
Forward
Message has been deleted
0 new messages