Versions Compared

Key

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

...

  1. Go to Accounting - Payment Gateway Config and select "PayPal Payment Gateway" from the list
  2. Please fill all those fields to made working correctly to work with PayPal:
    Image Modified
    Business Email : Email address of your business
    Notify URL : PayPal Notify URL (example (http://yourServerName/ecommerce/control/payPalNotify)
    Return URL : PayPal Return URL (example (http://yourServerName/ecommerce/control/orderhistory)
    Cancel Return URL : PayPal Return On Cancel URL (example http://yourServerName/ecommerce/control/payPalCancel/main)
    Image URL : Image To Use On PayPal (example (http://yourServerName/images/ofbiz_logo.gif)
    Confirm Template : Thank-You / Confirm Order Template (example /order/emailconfirmation.ftl)
    Redirect URL : PayPal Redirect URL (Sandbox http://www.sandbox.paypal.com/us/cgi-bin/webscr Production https://www.paypal.com/cgi-bin/webscr)
    Confirm URL : PayPal Confirm URL (Sandbox https://www.sandbox.paypal.com/us/cgi-bin/webscr Production http://www.paypal.com/cgi-bin/webscr)
  3. Once PayPal Payment Gateway has been configurated you have to go to Catalog - Stores - select your Store - Payments tab
    Image Modified
  4. Edit the Payment Method Type Paypal and choose as Payment Gateway Config Id "PayPal Config".
  5. As deprecated use you can alternatively change the configuration parameters into
    No Format
    ${ofbiz install dir}/applications/accounting/config/payment.properties
    
    The ones that always need to be changed for use of PayPal are:
    1. payment.paypal.business - set to an email address on your PayPal account
    2. payment.paypal.notify - just change domain name and port to the production values you are using
    3. payment.paypal.return - set to the URL where you want PayPal to send customers once payment is complete, typically back to your ecommerce web site
    4. payment.paypal.cancelReturn - set to the URL where you want PayPal to send customers when they cancel their payment
    5. payment.paypal.image - set to the URL of the image or logo you want PayPal to display to help customers know that the payment is being received on your behalf

...

  1. Put payflow.jar from Payflow Pro's Java SDK in the directory in
    No Format
    ${ofbiz install dir}applications/accounting/lib.
    
  2. Changed the accounting build.xml and comments to not exclude verisign sources like here :
    <target name="classes" depends="prepare">
    <javac15>
    <!-- exclude the payment processor packages; comment this out to not exclude if you have libs -->
    <!-- <exclude name="org/ofbiz/accounting/thirdparty/verisign/**"/> -->
    <exclude name="org/ofbiz/accounting/thirdparty/cybersource/**"/>
    <exclude name="org/ofbiz/accounting/thirdparty/worldpay/**"/>
    </javac15>
    </target>
  3. Confirm that applications/accounting/build/classes/org/ofbiz/accounting/thirdparty/verisign/PayflowPro.class was built and exists
  4. The installation of certificate is now no more necessary
  5. Go to Accounting - Payment Gateway Config and select "Payflow Pro Payment Gateway" from the list
  6. Please fill all those fields to made working correctly to work with Payflow Pro:
    Image Modified
    Certs Path : Path the the VeriSign Certificate (No more used from version v4)
    Host Address : Address of the payment processor (example (Test test-payflow.verisign.com or Production payflow.verisign.com)
    Host Port : Port of the payment processor (default is 443)
    Timeout : Timeout (default is 80 seconds)
    Proxy Address : Proxy Address
    Proxy Port : Proxy Port (default is 80)
    Proxy Logon : Proxy Logon
    Proxy Password : Proxy Password
    Vendor : Vendor of account information
    User Id : PayFlow UserID of account information
    Pwd : PayFlow Password of account information
    Partner : PayFlow Partner of account information
    Check Avs : Use Address Verification
    Check Cvv2 : Require CVV2 Verification
    Pre Auth : Pre-Authorize Payments (if set to N will auto-capture)
    Enable Transmit : Set to false to not transmit anything
    Log File Name : Log file name
    Logging Level : Logging level
    Max Log File Size : Max log file size
    Stack Trace On : Stack trace on/off
  7. Once Payflow Pro Payment Gateway has been configurated you have to go to Catalog - Stores - select your Store - Payments tab
    Image Modified
  8. Edit the Payment Method Type Paypal and choose as Payment Gateway Config Id "Payflow Pro Config".

...