Needs review
Project:
Commerce Payplug
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2026 at 12:28 UTC
Updated:
25 Nov 2026 at 08:25 UTC
Jump to comment: Most recent
OffsitePayPlug::onNotify() always creates a new Commerce payment through mapPayplugPaymentToCommercePayplug(), which calls $payment_storage->create(). It never checks whether a payment with the same remote_id already exists. PayPlug retries a notification whenever the response isn't 2xx, and the same payment can be notified more than once. Each notification therefore adds another payment entity to the order.
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
nicolasgraph