Page 1 of 1
paypal setup help
Posted: Mon Mar 11, 2013 11:10 pm
by xcon
I am following
http://docs.broadleafcommerce.org/curre ... Start.html and
http://docs.broadleafcommerce.org/curre ... Start.htmlto setup paypal checkout.
I have the paypal button available now, however, when I clicked on the button. I was redirected to paypal.cancel.url.
In mysql, I got error code 10438, and the message was cpp-header-border-color value exceeds maximum allowable length.
Can someone share his/her paypal setup experience?
Thanks,
Jun
Re: paypal setup help
Posted: Tue Mar 12, 2013 12:47 pm
by phillipuniverse
Looks like the error that you are experiencing doesn't have anything to do with MySql, but instead is a Paypal error. What is the value that you have configured in your properties file for paypal.additional.HDRBORDERCOLOR? According to the Paypal docs, this can only be a 6-character string of numbers and letters without a leading #.
References:
http://www.magentocommerce.com/boards/v ... 9/#t393540http://www.paypalobjects.com/en_US/eboo ... sages.html
Re: paypal setup help
Posted: Tue Mar 12, 2013 8:06 pm
by xcon
here is my configuration.
paypal.version=98.0
paypal.shipping.display=1
paypal.additional.HDRIMG=?
paypal.additional.HDRBORDERCOLOR=E2E2E2
paypal.additional.HDRBACKCOLOR=FFFFFF
paypal.additional.PAYFLOWCOLOR=FFFFFF
paypal.user=xxxxxx
paypal.password=xxxxxxx
paypal.signature=AovOhbePzPQlOUywQ9uTnrCU3RLeAX1H6W1BfcoMPdoSjtcJRqAxqHj5
paypal.api.url=https://api-3t.sandbox.paypal.com/nvp
paypal.user.redirect.url=https://www.sandbox.paypal.com/cgi-bin/webscr
paypal.return.url=http://localhost:8080/paypal/process
paypal.cancel.url=http://localhost:8080/cart
Re: paypal setup help
Posted: Tue Mar 12, 2013 10:12 pm
by xcon
Ok, My bad.
After I move the configuration to development.properties under site, I can see paypal login page now.
Re: paypal setup help
Posted: Tue Mar 12, 2013 10:39 pm
by xcon
Another thing, I got "This Sandbox email address is not available. Please enter another email address." error msg when attempting to login with my preconfigured buyer account.
Finally, I figured it out that I need to either clean my browser cache, firefox, or switch to IE.
Re: paypal setup help
Posted: Fri Jul 19, 2013 8:24 am
by newtobroadleaf
HI xcon,
I am also working with Broadleaf commerce and now trying to configure the paypal module with it.
I also followed the same document,but i do have one doubt that where do i need to define the paypal controller??
And one more thing from where the bl-paypal-applicationContext.xml will come??
Do i need to put it on my own??
Glad if you can help me out.
Thanks
Re: paypal setup help
Posted: Tue Jul 23, 2013 1:44 am
by Anky
define the that controller in the below specified location:-
demosite>src>main>java>com>mycompany>controller>paypal>PayPalController.java