...
Info |
---|
Before setting up PayPal in your production site, Commerce Vision recommend you undertake testing in your Stage Site using the PayPal Sandbox environment. |
Signing up for a PayPal business account:
The PayPal business account sign up will ask you for details about your organisation including business type and your business name.
Panel |
---|
title | PayPal - Sign Up |
---|
borderStyle | solid |
---|
|
- To sign up with PayPal go to https://www.paypal.com/au/webapps/mpp/merchant
- Record your business identification details for the web site configuration
|
Configuring your site for PayPal:
Panel |
---|
- When you have successfully created your PayPal account, log a support call with Commerce Vision to have your stage site configured.
- Provide the URL of your Stage Site and a date of when the configuration is required.
- Commerce Vision will advise you when the system and menu have been configured.
|
Setting up the Punch Out Document:
When the support team have set up the Punch Out Document as a menu item, you can then create the document that is sent to PayPal when payments are processed.
...
Code Block |
---|
|
<html>
<body>
<form ID="form" name="form" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="example@commercevision.com.au">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="[order:socurrcode]">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="custom" value="[receipt:ReceiptNumber]">
<input type="hidden" name="return" value="http://www.YourWebSite.com/OnlinePaymentOK.aspx?receipt=REC[receipt:ReceiptNumber]&type=PAYPAL&order=[ORDER:SOORDERNO]">
<input type="hidden" name="cancel_return" value="http://www.YourWebSite.com/OnlinePaymentFail.aspx?receipt=REC[receipt:ReceiptNumber]&type=PAYPAL&order=[ORDER:SOORDERNO]">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="item_name_1" value="Order Total - Your Business Name">
<input type="hidden" name="item_number_1" value="Order">
<input type="hidden" name="amount_1" value="[ORDER:SOORDERTOTALAMOUNT]">
<input type="hidden" name="notify_url" value="http://www.YourWebSite/PayPalNotify.aspx">
<script language="Javascript">
document.forms["form"].submit();
</script>
</form>
</body>
</html> |
Setting the document code as the PayPal template:
Panel |
---|
- From the settings menu, go to Orders, then Credit Cards
- The setting is named 'PayPal Template'
- Using the drop down menu, select the document code that you have created. e.g. SandboxTest
|
The message that is displayed to the customer needs to be set up and/or maintained:
Panel |
---|
- From the Content menu, go the Resource Manager
- Search for the Resource Value: 'PayPalPaymentSummary'
- Select the Resource code and click Modify
- The data from the Resource Value can be copied and pasted from the code snippet below
- Select OK
|
...
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
sort | modified |
---|
showSpace | false |
---|
reverse | true |
---|
type | page |
---|
labels | paypal payment receipt |
---|
|