Welcome to the IBM Websphere Commerce Hub


Welcome to the IBM Websphere Commerce Hub

Come join me in my journey to explore the various features and capabilities of IBM Websphere Commerce and understand how retailers can benefit from its really cool out-of-box functionality.

Sunday, March 11, 2012

PayPal Integration with Websphere Commerce 7

Hi Readers,

Please follow the below link to learn more about PayPal Checkout Express flow and its integration in WebSphere Commerce 7 -

http://www.ibm.com/developerworks/websphere/tutorials/1101_song/section3.html

There are some steps missing in the above tutorial. In addition to the steps in the tutorial, please run a ACPLOAD for the "PayPal"

The ACPolicy file contents can be found here -

<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE Policies SYSTEM "../dtd/accesscontrolpolicies.dtd">

<Policies>
 <Action Name="PayPal"
  CommandName="PayPal">
 </Action>
 <ActionGroup Name="AllSiteUsersViews"
    OwnerID="RootOrganization">
  <ActionGroupAction Name="PayPal"/>
 </ActionGroup>
</Policies>

For more information on the ACPLOAD, click acpload utility

The Paypal Sandbox environment seems to be having troubles , whenever it redirects to PayPal - I am being asked to login. On clicking on the link , it redirects me to "developer.paypal.com" instead of "sandbox.paypal.com". Since it redirects to the developer site , I login with my developer account and then with the personal account credentials. Now , to place orders - i need to click the back button to reach the "Order Summary" Page and then click on "Order".

Please comment if case you face the same issue or have a solution for the same!

Related Reads -
Enabling Punch-out Payments

2 comments:

  1. Hi Neha, After importing the paypal project, I added the project to the WC ear file. After that, when I tried to republish the server it is failing. Should I do any thing else after importing the paypal plugin ?a

    ReplyDelete
    Replies
    1. I had the same problem, the solution was to clean up all the projects after you import the paypal example project, add the new project to WC and finally re-publish WC.

      Delete