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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Paypal Integration NOT working...

Go to End

28 Posts   8930 Views

Chris Rae

Community Member, 17 Posts

9 November 2009 at 11:58am

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!


Community Member, 501 Posts

10 November 2009 at 4:29am


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.


Community Member, 501 Posts

10 November 2009 at 7:41am


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


Community Member, 501 Posts

10 November 2009 at 8:15am

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

Go to Top