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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   11437 Views

Avatar
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!

Avatar
dio5

Community Member, 501 Posts

10 November 2009 at 4:29am

@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.

Avatar
dio5

Community Member, 501 Posts

10 November 2009 at 7:41am

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

Avatar
dio5

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