developer_guide:developer_guide:hosted_checkout
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | developer_guide:developer_guide:hosted_checkout [2012/12/27 16:33] (current) – [Custom URLs] matt | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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. | ||
+ | |||
+ | 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: 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: | ||
+ | * 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 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 " | ||
+ | - 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.txt · Last modified: 2012/12/27 16:33 by matt