developer_guide:developer_guide:hosted_checkout

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
developer_guide:developer_guide:hosted_checkout [2011/12/13 22:48] mattdeveloper_guide:developer_guide:hosted_checkout [2012/12/27 16:33] (current) – [Custom URLs] matt
Line 8: Line 8:
  
   - Log into the Merchant Center   - Log into the Merchant Center
 +  - Click "View All" next to the "Subscription Packages" heading
 +  - The hosted payment page URL is contained in the text box call "Hosted Payment Page URL"
 +  - To copy the URL simply click the mouse on the text box, right click, select "Copy". You could also click keyboard shortcut "Ctrl + C".
 +  - Now that you have the URL you can paste it into links, buttons, or forms.  You can also paste it directly into emails and marketing documents.
  
 If you want to generate the URL in code you can use the following format: If you want to generate the URL in code you can use the following format:
Line 13: Line 17:
 https://www.subscriptionbridge.com/checkout/<LinkID> https://www.subscriptionbridge.com/checkout/<LinkID>
  
 +==== Custom URLs ====
 +For branding reasons you may want to use a more personalized URL that better matches your company.
  
 +=== Sub Domain ===
 +You can use your "Store Key" (found on the Store Setting page in the Merchant Center) in your URL.  For example, you can type https://storekey.subscriptionbridge.com.
 ===== Hosted Payment Page Options ===== ===== Hosted Payment Page Options =====
  
Line 49: Line 57:
  
 </code> </code>
 +
 +===== Custom Receipt Page =====
 +
 +If you want to use your own custom receipt page we can redirect the customer to your store after they checkout.  There are many useful reasons to do so:
 +
 +  * Add a Google tracking code to your receipt page
 +  * Post Checkout Tasks (e.g. creating software license keys)
 +  * Downloadable products 
 +  * Membership (e.g. redirecting user to special member content)
 +
 +The custom receipt is easy to implement. Just follow these simple steps:
 +
 +  - Log into the Merchant Center
 +  - Click "Store Settings"
 +  - Type your domain name into the "Store URL" field and "Save". Be sure you type the full URL starting with "http".
 +  - Now that your store URL is saved you just need to add the "return_page" option to your form or link.  See the sample form above.
 +  - After checkout we will redirect the customer to the domain + path specified in the "return_page" field.  
 +
 +Note: You can use search engine friendly links or dynamic links in the "return_page" field.
 +
 +
 +===== Return Parameters =====
 +
 +If you use your own customer receipt page we will send you a few parameters in the URL query string.  You can use these parameters to create a nice receipt page.
 +
 +Here is a list of parameters:
 +
 +  * Guid: This is the subscription ID. It is used in subsequent calls and we recommend you save it to your database.  For example, you can immediately call "[[developer_guide:call_reference:getsubscriptiondetailsrequest|GetSubscriptionDetailsRequest]]" to obtain more details about the subscription and customer, which can be used on the receipt page or saved to your database.
 +  * Email: The customers email
 +  * AmountPaid:  The total purchase cost paid today... may differ from next billing cycle.
 +  * TransactionID: The transaction ID from the gateway
 +  * Custom:  Your pass through values, such as internal customer ID, MPN, or SKU.
 +
 +
  
  
  
developer_guide/developer_guide/hosted_checkout.1323834531.txt.gz · Last modified: 2011/12/12 23:00 (external edit)