confirmOrder

confirmOrder

description: places the finalized order information into CodeBookie.  Should use after payment has been completed and confirmed by the gateway.

ParameterTypeDescriptionRequired
api_tokenstringAPI TokenYES
checkout_tokenstringCheckout TokenYES
buyer_emailemailEmail address of the buyer. Should be gathered during the sale processYES
txn_idstringThe transaction ID of the sale from whatever payment gateway was used. YES
order_idstringwhatever order ID your ecommerce solution generated for the saleYES
ip_addressstringIP address from where the sale was generatedNO

Example using the PHP Codebookie class file:

 

Output:

VariableTypeDescription
statusstringOK - order information successfully entered into codebookie

- ERROR, something went wrong

-
messagestringError Message
confirmation_idstringConfirmation of Codebookie Transaction
Was this article helpful to you? Yes No

How can we help?