No doc at this stage - use on your own risk.
It doesn't...
SilverStripe\Control\Email\Email:
noreply_email:
[email protected]: 'Sitename'
set up a cronjob to purge pending carts (on a daily basis)
Cita\eCommerce\Model\Product
Cita\eCommerce\Model\Order
createInvoiceRows
function in extension to create your own invoice rowsPayment is using Omnipay and its plugins. We have implemented 5 payment gateways in this module.
---
Name: 'citanz-silverstripe-ecommerce-payment'
---
SilverStripe\Omnipay\Model\Payment:
file_logging: true
# allowed_gateways:
# - PaymentExpress_PxPay
# - PayPal_Express
# - Poli
# - Paystation_Hosted
# - Stripe
To enable the payment gateway that you wish to use, create a payment.yml
file in your '_config' directory, and uncomment the line(s) accordingly. Example:
---
Name: 'payment'
---
SilverStripe\Omnipay\Model\Payment:
file_logging: true
allowed_gateways:
- PaymentExpress_PxPay
...
Make sure you require Stripe's v3 library in your template
Requirements::javascript('https://js.stripe.com/v3/');
Choose which one(s) you wish to turn off, and set the value(s) to false
Cita\eCommerce\Model\Order:
default_buttons:
send_invoice : true
cheque_cleared : true
refund : true
send_tracking : true
debit_cleared : true
If you want to customise emails, please implement below methods:
and make sure you update the 'sent' prop in $customer_sent_flag & $admin_sent_flag to true
GST calculation is based on the subtotal amount AFTER the discount (is there is one) plus shipping cost.
If you would like to create your own cart templates, please override below files:
Cita\eCommerce\Controller\Layout\Cart.ss
Cita\eCommerce\Controller\Layout\Cart_checkout.ss
Cita\eCommerce\Controller\Layout\Cart_complete.ss
Cita\eCommerce\Model\Layout\Catalog.ss
Cita\eCommerce\Model\Layout\Product.ss
Cita\eCommerce\Model\Layout\ProductCollection.ss
Username: DemoShopper
Password: DemoShopper
Card: 4111111111111111
Card Holder: YOUR_NAME
Expiry: [leave it as it is]
CVV: 100
Card: 5555555555554444
Card Holder: YOUR_NAME
Expiry: 0521
CVV: 100
Card: 4000005540000008
Expiry: 0555
CVV: 555
When on sandbox mode, Payment Express only allows integer value to be the amount to pay, therefore we have to round the amount before we pass it to Payment Express's payment gateway.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem