developer_guide:developer_guide:hosted_checkout
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
developer_guide:developer_guide:hosted_checkout [2011/12/13 22:26] – created matt | developer_guide:developer_guide:hosted_checkout [2012/12/27 16:33] (current) – [Custom URLs] matt | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hosted Payment Pages ====== | ====== Hosted Payment Pages ====== | ||
- | Also known as hosted checkout, this is the ... | + | ===== Hosted Payment Page URLs ===== |
+ | |||
+ | The hosted | ||
+ | |||
+ | Here are the steps to find the URL for a subscription package: | ||
+ | |||
+ | - Log into the Merchant Center | ||
+ | - Click "View All" next to the " | ||
+ | - The hosted payment page URL is contained in the text box call " | ||
+ | - To copy the URL simply click the mouse on the text box, right click, select " | ||
+ | - Now that you have the URL you can paste it into links, buttons, or forms. | ||
+ | |||
+ | If you want to generate the URL in code you can use the following format: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== 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:// | ||
+ | ===== Hosted Payment Page Options ===== | ||
+ | |||
+ | Below is a list of all options available on the hosted payment pages. | ||
+ | |||
+ | * start_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: | ||
+ | * custom: | ||
+ | |||
+ | |||
+ | ===== Hosted Payment Page Sample Form ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | <form action=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Custom Receipt Page ===== | ||
+ | |||
+ | If you want to use your own custom receipt page we can redirect the customer to your store after they checkout. | ||
+ | |||
+ | * 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 | ||
+ | |||
+ | - Log into the Merchant Center | ||
+ | - Click "Store Settings" | ||
+ | - Type your domain name into the "Store URL" field and " | ||
+ | - Now that your store URL is saved you just need to add the " | ||
+ | - After checkout we will redirect the customer to the domain + path specified in the " | ||
+ | |||
+ | Note: You can use search engine friendly links or dynamic links in the " | ||
+ | |||
+ | |||
+ | ===== Return Parameters ===== | ||
+ | |||
+ | If you use your own customer receipt page we will send you a few parameters in the URL query string. | ||
+ | |||
+ | 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. | ||
+ | * Email: The customers email | ||
+ | * AmountPaid: | ||
+ | * TransactionID: | ||
+ | * Custom: | ||
+ | |||
+ | |||
+ | |||
+ |
developer_guide/developer_guide/hosted_checkout.1323833195.txt.gz · Last modified: 2011/12/12 23:00 (external edit)