Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Paypal Integration NOT working...

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 4
Go to End
Author Topic: 6610 Views
  • Chris Rae
    Avatar
    Community Member
    17 Posts

    Re: Paypal Integration NOT working... Link to this post

    Keep in mind, the PayPalPayment success code is pretty primative. Your payments wont show up as completed unless the user clicks on the 'return to merchants page' link after they have completed their purchase on PayPal's site.

    Hopefully that'll help a few folks get some completed orders!

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Paypal Integration NOT working... Link to this post

    @Patrick

    What did you do to make payment status display 'success'?

    I'm trying with a paypal sandbox account, it works fine on paypal, but when I return to SS I'm always getting payment status 'Failure'.

    (Stable silverstripe release, trunk e-commerce & payment module)

    'Payment Review' is disabled on the sandbox.

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Paypal Integration NOT working... Link to this post

    Interesting.

    When debugging the Payment Status that Paypal was sending, it showed 'pending' due to 'multi_currency', as I was having my shop in euros while the 'seller account' was in GBP.

    I was assuming that paypal would handle this, but there's no option to set this in the sandbox.

    Now I'm testing with accounts where everything is in euro.

    But, weird enough, now I'm getting Internal server errors: "Premature end of script headers: main.php" :S

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Paypal Integration NOT working... Link to this post

    Reason of crashing: $payment->AuthorisationCode is not being set, it's not in $_REQUEST['custom'] (params[1]).

    6610 Views
Page: 1 2 3 4
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.