Welcome Guest, Not a member yet? Register   Sign In
PayPal_Lib help
#1

[eluser]TheShaman[/eluser]
Hi all, I'm a complete newbie to CI and using it for the 1st time, so far I think I'm getting on with it OK, that is until I tried to use the PayPal Library (http://codeigniter.com/wiki/PayPal_Lib/), I've downloaded it and copied the files over to my CI installation, I haven't done any tweaking as I wanted to see if I could get it working straight out of the box so to speak.

Unfortunately, when I run it, I get the following error:

Code:
Fatal error: Call to undefined method Paypal::view() in C:\wamp\www\CodeIgniter\system\application\controllers\paypal.php on line 53

Line 53 is
Code:
$this->view('paypal/form', $data);

I've done a bit of searching around, but I seem to be getting myself more and more confused as I don’t really have a clue what I'm doing, so if someone could point me in the right direction, I'd be eternally grateful as I'm hoping I've just done or missed something really stupid.

Thanks in advance and sorry my 1st post is a call for help!
#2

[eluser]Miroslav Milic[/eluser]
That's a bug in paypal controller.
The line should be
Code:
$this->load->view('paypal/form', $data);

You should also fix this on lines 73 and 91.
#3

[eluser]TheShaman[/eluser]
Many thanks Miro and I'll give that a go
#4

[eluser]angelleye[/eluser]
You may want to check out the library I released not long ago: http://ellislab.com/forums/viewthread/181636/. It's much more complete.
#5

[eluser]TheShaman[/eluser]
Thanks Angell Eye, not had time to look at it properly yet and I'll be sure to check out your link!




Theme © iAndrew 2016 - Forum software by © MyBB