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.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

new paypal payment code for ecommerce


Reply

20 Posts   34923 Views

Avatar
cindycin

8 August 2008 at 6:56am Community Member, 20 Posts

I'm pretty new to SS and PHP so this is a little confusing to me.

{name of class here}::setAccount($yourPPEmailHere);

Can I select a random class name? Something is telling me no... that it has to relate back to something.

Is there a simple walk-through for this module that has screenshots of some of these files and where the codes should be placed in them? I've read through all of the documentation and forum posts and still feel there are some missing pieces to the puzzle.

Any help will be greatly appreciated.

Avatar
Nicolaas

8 August 2008 at 9:33am Forum Moderator, 213 Posts

PayPalPayment should be the name of the class (just check spelling!)

Avatar
cindycin

8 August 2008 at 12:14pm Community Member, 20 Posts

Thanks Nicolass! with a little tweaking its working now.

Here is what I used if anyone else needs it...

PayPalPayment::setPayPalRealAccount('EMAIL ADDRESS HERE');

in the ecommerce/_config.php file

Avatar
Briohny

24 September 2008 at 9:50pm Community Member, 199 Posts

Just a quick question on the paypal front... when my site is redirected to paypal there is no item description. Only a text box, price and quantity. How can i set it so that the item description is brought from the shopping cart into the paypal site?

Thanks.