I'm trying to complete the build of a store but seem to be having issues with the Paypal integration.
I'm using Silverstripe 3.1.0 with the Payment module and the Payment-Paypal module
I've set up my mysite/_config/config.yml like so:
Name: payment
After: 'framework/*','cms/*'
---
PaymentGateway:
environment:
'dev'
PaymentProcessor:
supported_methods:
dev:
- 'PayPalExpress'
live:
- 'PayPalExpress'
and my mysite/_config/payment.yml like so:
PaymentGateway:
environment:
'live'
PaymentProcessor:
supported_methods:
dev:
- 'PayPalExpress'
live:
- 'PayPalExpress'
PayPalGateway_Express:
live:
authentication:
username: 'myliveusername'
password: 'mylivepassword'
signature: 'mylivesignature'
dev:
authentication:
username: 'mydevusername'
password: 'mydevpassword'
signature: 'mydevsignature'
When I enter billing/shipping info and go to submit the form to pay, I briefly get a screen of errors (all of them being: [Deprecated] preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
POST /checkout/OrderForm
Line 207 in /Users/fraser/Documents/Work/sitefolder/wwwroot/site/swipestripe/thirdparty/Emogrifier.php) before getting redirected to an order confirmation screen (xxxxxxx.com/account/order/xxx (where xxx is the order id)). It doesn't send me to paypal to make payment.
The order confirmation screen informs me that the order is unpaid. Following the link to complete payment, I'm prompted to proceed to pay with paypal again and it loops me back around saying the order is unpaid.
Have I done something wrong in my setup or is this an issue that people are aware of?
Thanks