-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
1.3.2
-
None
The createOrder API is ignoring the paymentMethod information.
Expected result
createOrder set the payment information before creating the order.
Development notes
curl --location -g --request POST '{{host}}/{{project-key}}/carts/{{cart-id}}' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {{ctp_access_token}}' \ --data-raw '{ "version": {{cart-version}}, "actions": [ { "action": "addPayment", "payment": { "id": "{{payment-id}}", "typeId": "payment" } } ] }'
Acceptance criteria