Shopping Cart & Advance Integration
The Base Commerce Hosted Payment Pages allows for custom integrations into shopping carts or other applications by utilizing a series of form post parameters. You must create a Hosted Payment page by following the Creating Hosted Payment Page and Buy Now Button guide prior to beginning the advanced integration.
The following are the parameters which can be posted to the Hosted Payment Page URL:
|Parameter Name||Description||Data Type|
|hpp_amount||The total amount of the purchase, including all items, taxes, fees, etc.||double|
|hpp_item_description_[1-99]||The description for the item.||string|
|hpp_item_price_[1-99]||The price of the item.||double|
In addition to the above parameters, you can pass any additional parameters to the hosted payment page URL and upon a successful payment, those values will be posted back to your success URL.