My Oracle Support Banner

Provide The Ability to approveOrder And Pay For The Order In A Single Step (Doc ID 2538414.1)

Last updated on NOVEMBER 07, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Via custom code attempting to use the POST /ccstore/v1/orders/approve endpoint to approve an Order, immediately followed by submitting a payment for that same order (/ccagent/v1/orders,). The response, back from approving the order shows,


Its not until 30+ seconds have passed, that the the Order finally moves to Pending Payment.
 

EXPECTED BEHAVIOR
-----------------------

The ability to pragmatically submit an approval via /ccstore/v1/orders/approve endpoint, immediately followed by submitting the payment (e.g. /ccagent/v1/payment) for that order. There should not be a delay after approving the Order, that results in the payment request being rejected (SEE: errorCode 2900) because the order is still in PENDING_APPROVAL after the order has already been approved. 

-or- 

The ability to submit an order, with payment (ie credit card), for approval. This way when the order is approved the payment is processed immediately without a separate request. 


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.