Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » new paypal payment code for ecommerce

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

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

Page: 1 2 3
Go to End
Author Topic: 34889 Views
  • cindycin
    Avatar
    Community Member
    20 Posts

    Re: new paypal payment code for ecommerce Link to this post

    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.

  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    Re: new paypal payment code for ecommerce Link to this post

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

  • cindycin
    Avatar
    Community Member
    20 Posts

    Re: new paypal payment code for ecommerce Link to this post

    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

  • Briohny
    Avatar
    Community Member
    199 Posts

    Re: new paypal payment code for ecommerce Link to this post

    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.

    34889 Views
Page: 1 2 3
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.