Lifecycle of a immediate payment
- As soon as a payment is initialized, the gateway creates a transaction with the "Waiting for payment" status (WAITING_FOR_PAYMENT).
By default, the merchant website is not notified.
- The transaction can have one of the following statuses depending on the response to the payment request:
- "Cancelled" (CANCELLED), if the buyer abandons the payment
- "Refused" (REFUSED), if PayPal declines the authorization request.
- "Captured" (CAPTURED), if PayPal accepts the authorization request and transfers the funds.
- "Control in progress" (UNDER_VERIFICATION), if PayPal places the payment on hold due to suspected fraud or waiting for fund transfer.
The platform automatically queries PayPal for the final result (REFUSED or CAPTURED).
Various status notifications:
Event | Notified status | Rule to configure |
---|---|---|
Initializing the payment | WAITING_FOR_PAYMENT | See: Setting up notifications |
Abandoned by the buyer | CANCELLED | Instant Payment Notification URL at the end of the payment |
Response to the payment request | REFUSED, CAPTURED, UNDER_VERIFICATION | Instant Payment Notification URL at the end of the payment |
Final result after waiting for a response from PayPal | REFUSED, CAPTURED | Instant Payment Notification URL on batch change |