Closed (fixed)
Project:
Commerce Payplug
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2025 at 09:36 UTC
Updated:
4 Dec 2025 at 09:14 UTC
Jump to comment: Most recent
On a failed payment notification, a DeclineException is thrown which delivers a 500 response code to Payplug. We should avoid that, as done in this commerce_2c2p related issue, by catching this exception and returning a 200 to confirm the notification was correctly managed.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
nicolasgraphComment #4
nicolasgraphThe response code is now OK but we should also handle de payment entity status to avoid a failed payment to stay new.
Comment #5
nicolasgraphComment #6
nicolasgraphComment #7
maetvatech commentedComment #8
nicolasgraph