HGOP2
Last updated
Was this helpful?
Last updated
Was this helpful?
The HGOP2 (Half GUI Order Processing version 2) service allows clients to host their carts and then post the information in their carts to Digital River at checkout time. A successful HGOP2 call consumes the information, creates a cart on the Digital River side, and then redirects the user to the cart on the Digital River side.
CreateCartRequest
Contains the client's cart information. Use this information to populate the cart on the Digital River-side.
Digital River can provide interfaces to post PGP messages for testing purposes.
See for more information.
You can use PGP encryption with the HGOP2 service to encrypt the cart's contents.
To integrate HGOP2 with PGP encryption:
Get the following items from your Digital River representative:
A PGP key
The endpoint information to post the PGP encrypted information
Generate an XML request that conforms to one of the .
Encrypt the message above as a PGP armored (ASCII-based) message using the key provided in step 1.
Expose a simple HTML form to the end-user that contains a single hidden HTML message
parameter. Use the encrypted results obtained in step 3 as the value for the message
parameter. When the user clicks submit, iXMt triggers an HTTP POST call with the encrypted key to the endpoint.
type
String
Required
The payment type In this instance, the required value is customerCredit
.
amount
String
Required
The amount of the source
currency
String
Required
customerCredit
Required
The customerCredit
instrument should be empty.
Accept the store credit source in the HGOP2 request body and create the payment information with the source.
12 (Current)
11
10
When you create a store credit source using , the sources array will contain a source with a type
of customerCredit
.
The associated with the payment method.