How To Use PayJunction Hosted Payments
Using HTML iframes with Hosted Payments code is not recommended. PayJunction Hosted Payments uses 3rd party cookies. If security settings in the client's browsers do not allow 3rd party cookies, they will see this message: "The Hosted Payments store you tried to access is invalid.". Although most browsers by default allow 3rd party cookies, Safari does not.
Step-By-Step Instructions
To create a new Hosted Payment button:
- Login to your account at https://www.payjunction.com
- Go to More, then select Hosted Payments.
- If you don't already have a Shop, please create on by following the instructions here.
- On the Shops page, click on the Generate Hosted Payment button (top-right of page).
Generate Hosted Payment Options
Shop | Select the Shop that you would like to use. | |||||||
Type |
There are 4 types of buttons. Read the description for each Button Type and determine which one works best for you:
|
|||||||
Button Text | Use this field to indicate what you would like the payment button to say. For example, "Add to Cart" buttons display the words "Add to Cart" by default. You can change the text, or leave it as is. | |||||||
Identifier | Use this field to describe the product or service. The Identifier field will be displayed on the checkout page, and on the receipt. Note: 16 character maximum. | |||||||
Product Description |
Use this field to describe the product or service. The Description field will be displayed on the checkout page, and on the receipt. |
|||||||
Price |
|
|||||||
Shipping |
|
|||||||
Tax |
|
|||||||
Options |
The Options drop-down menus include a list of options that your website visitors can select. For example, if you are creating a payment button for a shirt, then you can add a list of options (Options 1) for your user to select a size (i.e. Small, Medium, Large). Additionally, you can add another list of options (Options 2) for your user to select a shirt color (i.e. Black, Red, Blue).
|
The HTML Code
Now that you have completed the Button Generator form, you will need to place the code on your website.
- Highlight all of the HTML code that is listed within the text area.
- Copy the HTML.
- Go to your website, open the page that will include the payment button and get it ready for editing.
- Paste the code on your web page.
- Save your webpage, and test the payment button.
Basic Add To Cart Button
<form method="post" action="https://www.payjunction.com/trinity/quickshop/add_to_cart.action">
<input type="hidden" name="store" value="YOUR-HOSTED-PAYMENTS-SHOP-NAME">
<input type="hidden" name="need_to_ship" value="no">
<input type="hidden" name="need_to_tax" value="no">
<input type="hidden" name="identifier" value="PROD-XYZ">
<input type="hidden" name="description" value="Sample product description">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="price" value="5.00">
<input type="submit" name="submit" value="Add to Cart">
</form>
Basic Snap Check Out Button with User Input Price
<form method="post" action="https://www.payjunction.com/trinity/quickshop/add_to_cart_snap.action">
<input type="hidden" name="store" value="YOUR-HOSTED-PAYMENTS-SHOP-NAME">
<input type="hidden" name="need_to_ship" value="no">
<input type="hidden" name="need_to_tax" value="no">
<input type="hidden" name="identifier" value="PROD-XYZ">
<input type="hidden" name="description" value="Sample product description">
<input type="hidden" name="quantity" value="1">
<label>Enter Amount</label> <input type="text" name="price">
<input type="submit" name="submit" value="Check Out">
</form>
Related Documents