Difference between revisions of "ConfirmPurchase"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Confirm a purchase |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for...") |
|||
| Line 4: | Line 4: | ||
|Parameters= | |Parameters= | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Api_Parameter| | {{Api_Parameter| | ||
ParamName=transactionId | ParamName=transactionId | ||
Revision as of 19:53, 24 July 2014
Description
Confirm a purchase
Parameters
- transactionId (String, required)
- paypalToken (String, required)
Returns
Returns a JSON object containing an answer with true for successful.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content":
}
Exceptions
- NotWebpayPurchaseException
- TransactionIdDoesntMatchPurchaseIdException
- WebpayMontoDoesntMatchPurchasePriceException
Caching
This method is not cached.
Known issues
- None
Version history
| API Version Number | Change description | Changes author |
|---|---|---|
| 1.0 | Initial method design | Harley Cabral |