Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titlePayPal - Sign Up
borderStylesolid
  1. To sign up with PayPal go to https://www.paypal.com/au/webapps/mpp/merchant
  2. Record your business identification details for the web site configuration
Configuring your site for PayPal:
Panel
  1. When you have successfully created your PayPal account, log a support call with Commerce Vision to have your stage site configured.
  2. Provide the URL of your Stage Site and a date of when the configuration is required.
  3. 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
titleCode Snippet
<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
  1. From the settings menu, go to Orders, then Credit Cards
  2. The setting is named 'PayPal Template'
  3. 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
  1. From the Content menu, go the Resource Manager
  2. Search for the Resource Value: 'PayPalPaymentSummary'
  3. Select the Resource code and click Modify
  4. The data from the Resource Value can be copied and pasted from the code snippet below
  5. Select OK

...

Info
titleSandbox

Information about the PayPal Sandbox environment can be found at:https://www.x.com/developers/paypal/documentation-tools/quick-start-guides/paypal-sandbox-getting-started-guide

 

 

 

 

Content by Label
showLabelsfalse
max5
spacesKB
sortmodified
showSpacefalse
reversetrue
typepage
labelspaypal payment receipt