Mock: complete payment
payments_mock_complete_paymentSimulates a customer completing checkout in mock mode, returning a signed callback payload for verification and the updated payment.
Instructions
MOCK MODE ONLY. Simulate the customer finishing checkout. Returns a signed callback payload (feed it to payments_verify_payment) and the updated payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| outcome | Yes | ||
| provider | Yes | Gateway id | |
| order_ref | Yes | Merchant reference: 3-40 chars, letters/digits/_/- |