1999 Posts in 530 Topics by 433 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 5527 Views |
-
Re: Paypal Integration NOT working...

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!
-
Re: Paypal Integration NOT working...

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.
-
Re: Paypal Integration NOT working...

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
-
Re: Paypal Integration NOT working...

10 November 2009 at 8:15am
Reason of crashing: $payment->AuthorisationCode is not being set, it's not in $_REQUEST['custom'] (params[1]).
| 5527 Views | ||
| Go to Top |


