Initiate a PayPal payment authorization. On success returns the PayPal token (orderID for the SDK).
Change Note: replaces legacy exec1.jsp dispatch for DoPaypal with POJO pattern
| HTTP Status | Error Code | Description |
|---|---|---|
| 409 | ERROR | PayPal authorization could not be initiated (configuration or upstream error) |
Result of starting a PayPal authorization. On success carries the PayPal token (orderID in the new SDK).
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | exit code: paypal (success - token is set) or ERROR (could not initiate) |
| 2 | token | string | PayPal token/orderID returned by PayPal upon authorize. Forward this to the PayPal client SDK. |
Data (1 record)
| action | result | token |
|---|---|---|
| DoPaypal | ERROR |