Versions Compared

Key

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


Excerpt
hiddentrue

Add PayPal as a payment solution on your website.


PayPal is integrated into the Customer Self Service (CSS) is enabled to eCommerce Platform. You can accept PayPal payments easily and securely in the same way as Credit Card payments are processd. PayPal allows you to manage your by enabling the PayPal setting or as an option for Braintree Payments. PayPal allows your customers to link multiple cards and bank accounts to their PayPal account, and choose one of these during checkout. Account holders can manage their account online and view transactions and the transaction status of their transactions.

PayPal offers their own fraud protection methods (see Paypal for details).


Image Added


Info
  • Before
setting up
  • enabling PayPal in your Live production site, Commerce Vision
recommend
  • recommends you undertake testing in your Stage
Site
Panel
titlePayPal - Sign Up
borderStylesolid
To sign up with PayPal go to
  • 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.


Info
titleERP

PayPal payments will appear in your ERP package as normal cash receipts. Orders are held on the website until the payment has been verified and accepted. You can view all payments via your PayPal online account. 


To enable PayPal payments, the following steps need to be completed:

  1. Sign up for a PayPal Business account.

  2. Configure your site for PayPal.
  3. Set up the Punchout Document.
  4. Set the Document code as the PayPal Template.
  5. Update the Customer Message Resource.
  6. Update the Resource Value which displays the Payment Options text.

Step-by-step guides

1. Sign up for a PayPal Business account

  1. Visit PayPal's Merchant signup page - https://www.paypal.com/au/webapps/mpp/

...

  1. accept-payments-online

  2. The PayPal business account sign up process will require details about your organisation, including business type and business name. 

  3. Record your PayPal business identification details for the web site configuration

...

 2. Configure your site for PayPal

...

...

  1. Once you have successfully created your PayPal account, log a support call with Commerce Vision to have your

...

  1. Stage site configured.

  2. Provide the URL of your Stage

...

  1. site and a date

...

  1. by which the configuration is required.

  2. Commerce Vision will advise you when the system and menu have been configured.

Setting up the Punch Out Document:

...

3. Create the Punchout Document

Once the Support team has added the Punchout Document to the menu, you can create the document that is sent to PayPal when payments are processed.

...

  1. Login as an Administrator.

  2. Navigate to 'Settings' --> 'Punchout Document' (/zPunchOutDocuments.aspx).

  3. Click the 'cXML Document Setup' tab.

  4. Click 'New'.

  5. Populate the fields as follows:
    • Document Code: SandBoxTest
    • Description: SandBoxTestCV
    • Document Type: PayPal
    • Header Template: use the code snippet below

...

...

    • Code Block
      titleCode Snippet
      linenumberstrue
      <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.com/PayPalNotify.aspx">
      <input type="hidden" name="address_override" value="1">
      <input type="hidden" name="address1" value="[ORDER:SoDelAddr2]">
      <input type="hidden" name="address2" value="[ORDER:SoDelAddr3]">
      <input type="hidden" name="city" value="[ORDER:SoDelSuburb]">
      <input type="hidden" name="country" value="AU">
      <input type="hidden" name="email" value="[ORDER:SoUserIDCode]">
      <input type="hidden" name="first_name" value="[ORDER:SoDelAddr1]">
      <input type="hidden" name="zip" value="[ORDER:SoDelPostcode]">
      <script language="Javascript">
      document.forms["form"].submit();
      </script>
      </form>
      </body>
      </html>

...


  1. Update the

...

  1. following code lines with your information:
    • Line 3 - Replace the value "https://www.sandbox.paypal.com/cgi-bin/webscr" with the Sandbox URL provided by PayPal.
    • Line 6 - Replace the value "example@commercevision.com.au" with your business identification created by PayPal.
    • Line 12 - Replace the value "http://www.YourWebSite.com/OnlinePaymentOK.aspx?receipt=REC[receipt:ReceiptNumber]&type=PAYPAL&order=[ORDER:SOORDERNO]" with the address of your website and the page customers are returned to when a payment has been successful. The complete URL address is required; do not remove the address from 'OnlinePaymentOK' onwards.
    • Line13 - Replace the value "http://www.YourWebSite.com/OnlinePaymentFail.aspx?receipt=REC[receipt:ReceiptNumber]&type=PAYPAL&order=[ORDER:SOORDERNO]"  with the address of your website and the page customers are returned to when a payment has been unsuccessful. The complete URL address is required; do not remove the address from 'OnlinePaymentFail' onwards.
    • Line 15 - Replace the value "Order Total - Your Business Name" with the message displayed to users during payment processing.
    • Line 18 - Replace the value "http://www.YourWebSite.com/PayPalNotify.aspx" with the address PayPal use to communicate with your website.

  2. Click 'OK' to save.

4. Set the Document Code as the PayPal template

  1. Login as an Administrator.

  2. Navigate to 'Settings' --> 'Settings' (/zSettings.aspx).

  3. Click the 'Orders' tab.

  4. Click the 'Credit Cards' sub-tab.

  5. Locate the 'PayPal Template' setting.

  6. Using the drop down menu, select the document code

...

  1. you

...

  1. created

...

  1. (e.g. SandboxTest

...

The message that is displayed to the customer needs to be set up and/or maintained:

...

  1. ).

  2. To save, click the 'Update' button.

 5. Update the Message Displayed to the Customer during Checkout

  1. Login as an Administrator.

  2. Navigate to 'Content' --> 'Resource Manager' (/zResourceMaintenance.aspx).

  3. Search for 'PayPalPaymentSummary'.

  4. Select the record via radio button.

  5. Click 'Modify'.

  6. Copy the code snippet below and paste into the 'Resource Value' field.

    Code Block
    titleCode Snippet
    <BR><table class='text'><tr><td><img src='

...

  1. https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg'></

...

  1. td><br><td>Please pay this transaction using your 

...

  1. PayPal. Once your payment has been received, we will despatch your order.</td></tr></table>

...


  1. Update the image source and message text if required.

  2. To save, click OK.

    PayPalPaymentSummary exampleImage Added


6. Update the Payment Option text Resource

The final step before testing is to maintain update the Resource Value that that , which displays the text in the Payment page so that Payment options text. This lets customers know they can pay by Credit Card or Paypal:

...

PayPal. 

  1. Login as an Administrator.

  2. Navigate to 'Content' --> 'Resource Manager' (/zResourceMaintenance.aspx).

  3. Search for 'rcPayByCardOrEft'.

  4. Select the

...

  1. record via radio button.

  2. Click 'Modify'.

  3. Update the 'Resource Value' field with "Credit Card / PayPal Payment

...

Info
titleERP

Your PayPal payments will appear in your ERP package as normal cash receipts. Orders are held on the website until the payment has been verified and accepted. You can view all payments via your PayPal online account. 

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

 

 

 

 

...

  1. " (or similar)

  2. Click 'OK' to save.
    rcPayByCardOrEft Resource exampleImage Added 


Related help

Content by Label
showLabelsfalse
max57
spacesKB
showSpacefalse
sortmodified
reversetrue
showSpacetypefalsepage
reverseexcludeCurrenttrue
cqltypepagelabel = "paypal" and type = "page" and space = "KB"
labelspaypal payment receipt

Content by Label
showLabelsfalse
showSpacefalse
excludeCurrenttrue
cqllabel = "payment" and title ~ "braintree settings"