REDA One Help Center
EN
Language
English EN Español ES Português PT Italiano coming soon Français FR Deutsch coming soon العربية coming soon
reda.one ↗
Home / REDA Pay / After the Payment / When a payment fails: logs, alerts and recovery

When a payment fails: logs, alerts and recovery

Payments fail for ordinary reasons — a declined card, an empty bank account, a mistyped number — and occasionally for technical ones. REDA Pay records every failure somewhere specific and alerts someone specific. This article maps the failure to the place it is recorded, the alert it raises, and the way back.

Before you start — you hold REDA Pay - User to read transactions and logs, REDA Pay - Admin User for recovery actions.

Where failures are recorded

FailureRecorded asWho is told
A payment on screen is declined or refusedA Pay Transaction with Status failed and the reason in Error Message, under the order; the order stays Not ProcessedThe person at the screen, immediately
A payment link fails when the customer paysSame, plus the order stays Link - ActiveThe order's owner: in-app notification "Payment Link [P-000000] failed."
A scheduled run failsA failed transaction under the generated child orderThe schedule's owner: "Scheduled Payment [P-000000] failed."; plus a REDA Pay Log for the run
The connection to Payload broke mid-paymentA failed transaction with Process Callout Exception ticked; the payer sees the "unexpected exception" message with a codeThe failed-payment recovery job repairs it — see Turn on failed-payment recovery
A background job hit errors (schedules, syncs, statements, customer updates)A REDA Pay Log with Attention Needed ticked and the failures attached as a CSV fileEvery active user who receives Salesforce administration emails, plus the job's owner, by email
A bank payment is rejected days laterThe transaction's Status becomes rejected with a Rejected DateNobody by default; see Disputes and rejected payments
A customer's name, email or phone could not be sent to PayloadSync Error Message on the Pay CustomerNobody; visible on the record

Reading a failed transaction

Open the Pay Order and look at its Pay Transactions. A failed attempt has:

FieldWhat to read
Statusfailed
Error MessagePayload's reason, as "error type : description" — for example a declined card, an invalid routing number, or a customer rule such as "Payments are not allowed at this time for this customer."
Process Callout ExceptionTicked when the connection broke: the outcome is unknown until the recovery job runs
Created DateWhen the attempt was made

The order itself is untouched and can be paid again from the record with another method.

A Pay Order's Pay Transactions list showing a transaction with Status failed and its Error Message, followed by a later processed transaction
A Pay Order's Pay Transactions list showing a transaction with Status failed and its Error Message, followed by a later processed transaction

A failed attempt beside the successful retry. The failed record stays for the audit trail.

REDA Pay Logs

Every background job that meets an error writes a REDA Pay Log (RPL-000000):

FieldMeaning
ProcessWhich job: scheduled orders, transaction sync, statement processing, missing transactions, customer update
Start / End Datetime, Total Records, Success Records, Failed RecordsThe run's figures
ExceptionThe error text when the job itself failed
Attention NeededTicked while there are failures nobody has resolved
Resolved Date TimeFill it in when you have dealt with the log; the log leaves the Attention Needed view
Notes & AttachmentsA CSV file listing each failed record with its error — download it to see which orders or transactions were affected

When a log is created with failures, REDA Pay emails every active user who receives administration emails and the job's owner. The subject is "RPL-000000 - process - System Asynchronous Automation Exception" and the body begins "ATTENTION NEEDED" with a link to the log.

The REDA Pay app has a REDA Pay Logs tab with the views Attention Needed, Created Today and All; the REDA Pay Admin dashboard shows the count of logs needing attention.

The REDA Pay Logs list view "Attention Needed" with columns for the log number, Process, Failed Records and Created Date
The REDA Pay Logs list view "Attention Needed" with columns for the log number, Process, Failed Records and Created Date

The Attention Needed view is the daily check for whoever owns payments operations.

Recovery, by situation

SituationDo this
Declined card or bank paymentTake the payment again with another method. The failed transaction stays as history
Customer rule blocked it ("not allowed for this customer", "pay method type is not allowed…")Fix the Pay Customer's allowed methods or transfer type — see Per-customer rules — then pay again
Payer debited but Salesforce shows a failed attempt with Process Callout ExceptionWait for the recovery job (every 15 minutes), or open the order and press Sync Transaction to fetch Payload's record now. Do not process the order again
A transaction's status looks staleSync Transaction on the transaction (or on the order, for all of them) re-reads it from Payload
A scheduled run failedCollect the missed amount with a one-off payment; the schedule continues on its next date. If the method is dead, replace it — see Set up a recurring payment
A log reports many failures from one jobOpen the CSV, fix the common cause (an inactive account, a deleted method, a missing permission), then set Resolved Date Time
Statement activity stuck In ProcessReprocess it — see Reconcile deposits and payouts

Sync Transaction

On a Pay Transaction: click Sync Transaction, then Sync. REDA Pay re-reads that transaction from Payload and updates status, status code, funding status and dates. On a Pay Order: the same action asks Payload for every transaction tagged with the order, updates the ones Salesforce has and creates any it lacks — the manual version of the recovery job, with no one-hour limit.

Error messages with technical detail

By default REDA Pay shows the technical detail of an error — line numbers and a stack trace — after the message, because the org switch ERROR_STACK_TRACE ships as TRUE. That detail helps support but belongs on no customer's screen. Before go-live, set it to FALSE — see Org switches and error messages.

Mistakes to avoid

MistakeWhat happensFix
Processing an order again after the "unexpected exception" messageA second chargeSync first; look at the transactions
Ignoring the Attention Needed emailsFailed schedule runs and sync errors pile up unseenGive one person the daily check
Deleting failed transactions to "tidy up"The audit trail of the attempt is lost; transactions with refunds cannot be deleted anywayLeave them
Leaving Process Callout Exception attempts beyond an hourThe recovery job no longer picks them upUse Sync Transaction on the order

FAQ

No. REDA Pay sends no payer emails. The payer sees the result on screen; your own automation can email them from the failed transaction.

Every active user set up to receive Salesforce administrator emails, plus the owner of the job that failed.

Build a flow on REDA Pay Log (when Attention Needed becomes true) that posts where you like.

Where to go next