112 Posts in 33 Topics by 52 members
Payments and Payment Gateway / APIs
SilverStripe Forums » Payments and Payment Gateway / APIs » setting config details for payment methods failing
This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.
Moderators: martimiz, Howard, Sean, Normann, Ryan M., biapar, Willr, Ingo, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 655 Views |
-
setting config details for payment methods failing

3 June 2011 at 9:48pm
Hi all,
in mysite/_config.php or ecommerce/_config.php, I can add payment types
Payment::set_supported_methods(array(
'PayPalPayment' => 'Credit Card (Paypal)'
));however, if i try and set any variables
eg PayPalPayment::setPayPalRealAccount('info@mysite.com');
if just get fatal error calls...
Fatal error: Call to undefined method PayPalPayment::setPayPalRealAccount() in /home/mysite/public_html/ecommerce/_config.php on line 30
any suggestions?
cheers
| 655 Views | ||
|
Page:
1
|
Go to Top |

