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: