Closed (fixed)
Project:
Commerce Wise
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2026 at 17:15 UTC
Updated:
25 Nov 2026 at 17:40 UTC
Jump to comment: Most recent
balances#update notification creates a completed payment. Wise resends a notification it got no 200 for, and sends one per webhook subscription, so one deposit can be recorded several times. The payment's remote ID is balance_id, the ID of the balance account, which is the same for every deposit.balances#update also fires for money going out (transaction_type: debit); a payment made from the account with a numeric reference records a payment for, and places, the order with that ID.is_numeric() reference ("12.5", "1e3") loads an order. Every site on a Wise account receives every deposit, so when sites share an account, a deposit for one site's order 42 pays another site's order 42.CurrencyMismatchException.X-Signature-SHA256 ends in a TypeError (500). An invalid signature is answered 200 and not logged, so a wrong public key drops payments silently.X-Test-Notification: true) are processed like real ones.config/schema/commerce_wise.schema.yml.data.step_id (falling back to X-Delivery-Id) as the payment's remote ID, and skip a deposit that is already recorded. Load the order with OrderStorage::loadForUpdate(), so deliveries arriving together are handled one after the other.QuickPayLinkEvent subscriber set, such as a down payment), or when the order is fully paid. Set checkout_step to complete and unlock it, as checkout does. A smaller deposit is recorded and the order stays in checkout. A deposit for a placed order only adds a payment.SHOP-42); a reference without it names no order. Without a prefix, only a plain number matches.QuickPayInterface::getReferencePrefix(); QuickPay::createPayment(OrderInterface $order, Price $amount, ?string $remote_id); payments' remote ID is now Wise's step ID.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
valic