Jump to:

113 Posts in 224 Topics by 53 members

Payments and Payment Gateway / APIs

SilverStripe Forums » Payments and Payment Gateway / APIs » Configuring Other Payment Gateways

This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.

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

Page: 1
Go to End
Author Topic: 2498 Views
  • Bambii7
    Community Member
    254 Posts

    Configuring Other Payment Gateways Link to this post

    Hi all does any one know of a link to documentation on the payment module? I was trying to test out its PayPalPayment class.

    From the looks of things I add a custom "processPayPalPayment" to a decorator object like in the Payable demo.
    Any help or hints would be appreciated.

  • Bambii7
    Community Member
    254 Posts

    Re: Configuring Other Payment Gateways Link to this post

    Nice anchored linking....... can't tell if you're actually interested PayPalPayments or just interested in linking to your site.....
    I'm using the latest Payment module with these config settings in mysite/_config.php

       'ChequePayment' => 'Cheque Or Pay On Site',
       'PayPalPayment'   => 'PayPal (Credit Card)'
    if(Director::isLive()) {
       //forcing paypal sandbox even in live mode uncomment the line below "set_account_email" for live use
    } else {
       // configure test account

    Order::set_subject('New Order');

    ProductGroup::set_page_length(21); //set the default number of products to show on each product group page
    Product_Image::set_thumbnail_size(100,100); // set the width and height of product thumbnails
    Product_Image::set_content_image_width(300); // allows you to set the width of Product page images

    //choose overview fields for Report admin
    'ID' => 'Order No',
    'Created' => 'Created',
    'Member.FirstName' => 'First Name',
    'Member.Surname' => 'Surname',
    'Total' => 'Total',
    'Status' => 'Status'
       'NZ' => 10,

Page: 1
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.