Ticket #1448 (new enhancement)

Opened 15 months ago

Last modified 3 months ago

better out-of-box demo setup

Reported by: smagnusson Owned by: sharvey
Priority: minor Milestone: E-Commerce 0.6.0
Component: Modules - ecommerce Version:
Severity: medium effort / impact Keywords:
Cc: Hours:

Description (last modified by smagnusson) (diff)

1. the products should have images. find something tiny, e.g. 10-20kb.

2. make it really easy to have a test mode for creditcard payments,so that demo.silverstripe.com can use it, or you can make it easy to do development with. e.g. perhaps it just has a "test CC payment gateway" on by default, that simply always works. Perhaps the default setup is:

Payment::set_supported_methods(array(

'TestCCPayment' => 'Credit card (Test Only)', 'ChequePayment?' => 'Cheque'

));

The shop system would have a little note saying "Credit card payments in test mode only. No money will be actually charged nor will your credit card details be stored"

This means in the docs you could also say: if testmode then use that testcc system else use the proper one... it also lets you work with the cc stuff a little bit without needing to talk with a CC gateway at all.

3. set a default email sender such as "shop@…" in _config.php and comment that it should be changed

Change History

Changed 15 months ago by smagnusson

  • description modified (diff)

Changed 15 months ago by sminnee

  • type changed from defect to enhancement

Changed 13 months ago by sharvey

  • harvest_task set to (Unknown)
  • milestone set to Ecommerce 0.6

Changed 9 months ago by sharvey

  • owner changed from jshipman to sharvey

Changed 5 months ago by smagnusson

  • milestone changed from E-Commerce 0.6.0 to E-commerce 0.7.0

Changed 5 months ago by rlouis

  • milestone changed from E-commerce 0.7.0 to E-Commerce 0.6.0

1. The products already have an image attribute.

2. In the actual ecommerce trunk, all the payment methods have a test mode. One of the reasons is to be able to show the good process on demo.silverstripe.com as you wanted. All the payments methods still need to be test anyway (I mean with SilverStripe? new test system and a precise documentation will come with it).

Anyway, the current payment methods have been coded in a way that you can set up a payment method details by one static call. The test mode of all the payment methods can be enabled by one static call as well.

for instance for Paypal : - Set up normal mode : PayPalPayment::set_account_email('support@…'); - Set up test mode : PayPalPayment::set_test_mode('test@…');

The message "This payment is in test mode" needs to be added, that's right.

3. The default Sender field of the mail is not a big issue but needs to be done.

This work is part of Ecommerce 0.6

Changed 5 months ago by rlouis

  • owner changed from sharvey to rlouis

Changed 5 months ago by sminnee

  • priority changed from medium to minor

Changed 3 months ago by sharvey

  • owner changed from rlouis to sharvey
Note: See TracTickets for help on using tickets.