Jump to:

2076 Posts in 857 Topics by 449 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » PayPal Integration

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

Page: 1 2 3
Go to End
Author Topic: 5444 Views
  • nat.pike
    Avatar
    Community Member
    19 Posts

    PayPal Integration Link to this post

    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

  • nat.pike
    Avatar
    Community Member
    19 Posts

    Re: PayPal Integration Link to this post

  • sanjayi
    Avatar
    Community Member
    3 Posts

    Re: PayPal Integration Link to this post

    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/

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: PayPal Integration Link to this post

    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

  • GRiiDWeb
    Avatar
    Community Member
    60 Posts

    Re: PayPal Integration Link to this post

    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

  • theoldlr
    Avatar
    Community Member
    103 Posts

    Re: PayPal Integration Link to this post

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

    TIA

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: PayPal Integration Link to this post

    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

  • theoldlr
    Avatar
    Community Member
    103 Posts

    Re: PayPal Integration Link to this post

    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?

    5444 Views
Page: 1 2 3
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.