Partial payments
Core-commerce has support for partial payments on orders. This system can be used for implementing (for example) "deposit" payments or payments with "loyalty" where customers can pay partly with Loyalty points.
Partial payments integration flow
Relevant endpoints
- Add payment
- Return orderPaymentId
- Update payment
- Update payment with orderPaymentId
- Start payment
- Start a payment for the orderPaymentId
Webhooks
See the Webhooks for the Payment added and Payment changed event.
Start payment
POST /payment/[paymentId]/start supports the following QueryString-parameters:
- locale
- callbackUrl (returnUrl for webshop)
- paymentMethodId
- paymentMethodOptionId
When mapping the payment to a payment-request for the specific PSP, the OrderAttributes are added within Core-commerce so that all payments work with the same data. Do not add these parameters to the payment call parameters
Updated 6 months ago