developer_guide:developer_guide:hosted_checkout

This is an old revision of the document!


Hosted Payment Pages

Hosted Payment Page URLs

The hosted payment page URL can be used in text links, buttons, or form posts. In all of these cases the URL will load a hosted payment page in the browser for your customer to checkout. Since we host the checkout you do not need to worry about PCI compliance headaches.

Here are the steps to find the URL for a subscription package:

  1. Log into the Merchant Center

If you want to generate the URL in code you can use the following format:

https://www.subscriptionbridge.com/checkout/<LinkID>

Hosted Payment Page Options

Below is a list of all options available on the hosted payment pages. You can pass these values as hidden field in a form post, or via query string parameters in a link.

  • start_page: this lets you skip the details page and go directly to the payment page.
  • first_name: pre-fills customer first name
  • last_name: pre-fills customer last name
  • company: pre-fills the company
  • email: pre-fills the email
  • reference: your internal customer reference number
  • return_page: the path from root domain name and file name of the receipt page
  • custom: any details you want to pass through our system. This will be returned in all callbacks. It can be a string or array of values

Hosted Payment Page Sample Form

<form action="https://www.subscriptionbridge.com/checkout/LinkID" method="post">
     <input name="start_page" type="hidden" value="payment" /> 
     <input name="first_name" type="hidden" value="Jane" />
     <input name="last_name" type="hidden" value="Doe" />
     <input name="company" type="hidden" value="Early Impact, Inc." />
     <input name="email" type="hidden" value="test@earlyimpact.com" />
     <input name="reference" type="hidden" value="Remote Customer ID" />
     <input name="return_page" type="hidden" value="receipt.html" />
     <input name="custom" type="hidden" value="array of value for pass through" />

    
     <input type="image" name="submit" border="0" src="https://www.mystore.com/images/button.gif" alt="">  

</form>

developer_guide/developer_guide/hosted_checkout.1323834531.txt.gz · Last modified: 2011/12/12 23:00 (external edit)