Pre-acceptance of CB payment

Translations of this page:

Pre-acceptance of CB payment

Stancer return codes

According to the Stancer technical documentation (source: https://www.stancer.com/documentation/fr/api/#return-codes) here are the main return codes for a payment request:

"Capture" progress

Status Meaning
capture_sent the capture transaction is being processed, the payment can no longer be reversed, refunds must wait until the capture process is complete
authorized the bank has authorised the payment, but the transaction will not be processed until the capture is effective
to_capture the (customer's) bank has authorised the payment, the money will be processed later today
captured the payment amount has been credited to your account (Note: to your stancer account, not your bank account)

Refusals and errors

Status Meaning
canceled | payment will not be made, no money will be captured | | disputed customer has refused payment after being captured
expired authorisation was not captured and expired after 7 days
failed payment failed, see response field for details
refused payment has been refused

Option to consider payment validated before it is confirmed

Some users want the invoice to be marked “paid” as soon as the payment is initially returned (capture_sent status) … even though your customer's bank may still refuse it (negative balance, overdraft authorisation exceeded, card stolen, etc.).

If you still want the invoice to be marked as paid on initial acceptance, you can tick the following option in the module configuration:

en/projet_stancer/des_le_retour_de_pre-acceptation_du_paiement_cb.txt · Last modified: by supadmin
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International