Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

PayPal Integration


Go to End
Reply


23 Posts   6074 Views

Avatar
nat.pike

Community Member, 19 Posts

3 February 2011 at 12:54pm

Hi there,

SS 2.4.3
eCommerce v0.7.0
Payment v0.3

I have looked and read all the forums regarding PayPal integration and nothing is working for me.

The test site is:http://210.48.34.136/~efkco/get-started/efk-book/

The checkout works sometimes and when I do press the button to finish the order and pay it takes me to the PayPal website but comes up with an error that say that there was missing information?

Could somebody please help - I tried to delete both the ecommerce and payment modules and re-install but it seemed to stuff up the whole site?

Cheers
Nat

Avatar
nat.pike

Community Member, 19 Posts

7 February 2011 at 2:34pm

Fixed by following this post:

http://www.silverstripe.org/e-commerce-module-forum/show/13438

Avatar
sanjayi

Community Member, 3 Posts

14 February 2011 at 5:48pm

keeping track of payments at pay pal accounts. Sometimes customers on my store don,t complete the checkout process. They end up paying on pay pal but the order is not registered on my store. I have to contact the customer using the shipping info on pay pal.

http://www.genebyte.com/

Avatar
Jedateach

Forum Moderator, 232 Posts

14 February 2011 at 8:28pm

sanjayi, you'll be pleased to know that the newer version of paypal payment type below will automatically redirect the customer when they click the 'Pay Now' button on paypal.

http://code.google.com/p/silverstripe-ecommerce/downloads/detail?name=payment_paypal.zip

Avatar
GRiiDWeb

Community Member, 60 Posts

3 April 2011 at 2:38am

Hi Jedateach,
I've followed the development of the ecommerce from the time you started updating.
I've seen the new payment_paypal express and have my api, I'm getting a touch lost with where to put everything to get the paypal to work. I have previously just used -

Payment::set_supported_methods(array(
'PayPalPayment' => 'PayPal',
));

if(Director::isLive()) {
PayPalPayment::set_account_email('address@mail.co.uk');
}
else {
PayPalPayment::set_test_mode('sandbox@mail.co.uk');
}

but things have moved on in your newest code and this seems not to work any more and it 'hangs' at the redirection to paypal stage.
Would you be able to provide a short guide of where to put the final pieces, as my test shop has been working nicely, but would like to continue to test all the latest additions, fixes and patches?

Many thanks again
G

Avatar
theoldlr

Community Member, 103 Posts

13 April 2011 at 5:02am

I, too, am stuck at the paypal redirection and am wondering how to correct it.

TIA

Avatar
Jedateach

Forum Moderator, 232 Posts

18 April 2011 at 5:22pm

Hi guys,

Sorry for the lack of response. I've now added a readme file to the download.
http://code.google.com/p/silverstripe-ecommerce/downloads/detail?name=payment_paypal_1.1.zip

Or simply read it here:
http://code.google.com/p/silverstripe-ecommerce/source/browse/modules/payment_paypal/trunk/README

regards,
Jeremy

Avatar
theoldlr

Community Member, 103 Posts

21 April 2011 at 4:32am

Edited: 21/04/2011 8:34am

I followed the readme, added the info to mysite/_config.php and have paypal sandbox accounts setup (and am logged in to sandbox), but I still am never redirected past the paypal logo and progress bar. Is there a certain version of ecommerce, payment, payment_paypal etc. I'm supposed to be using for this to work? Is the payment-test module supposed to be installed? Am i supposed to use a specific email address on the checkout page to coincide with the sandbox accounts, or should I be prompted for sandbox login credentials after being redirected (can't tell cause i'm not getting that far).

Thanks!!

Edit:

Originally I was under the impression the payment_paypal module was an addon/enhancement/fix to the already existing paypal payment, so that's where I was going wrong. Really its just a different paypal payment so it needs to be added as as such in mysite/_config.php like so:

Payment::set_supported_methods(array(
'PayPalPayment' => 'Paypal Payment', //old paypal payment
'PayPalExpressCheckoutPayment' => 'Paypal Express Checkout' //new paypal payment module -- needs to be included
));

Maybe it's just cause I'm brand new to ecommerce/payment, but shouldnt that probably be mentioned in the readme?

Go to Top