Download the PHP package cita/ecommerce without Composer

On this page you can find all versions of the php package cita/ecommerce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ecommerce

CITANZ SilverStripe eCommerce

No doc at this stage - use on your own risk.

How does it work?

It doesn't...

Demo?

https://demo-shop.cita.nz/

Email Configuration

Cronjob

set up a cronjob to purge pending carts (on a daily basis)

Product

Cita\eCommerce\Model\Product

Order

Cita\eCommerce\Model\Order

implement createInvoiceRows function in extension to create your own invoice rows

Payment settings

Payment is using Omnipay and its plugins. We have implemented 5 payment gateways in this module.

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:

Stripe

...

Make sure you require Stripe's v3 library in your template

turn off order's default buttons:

Choose which one(s) you wish to turn off, and set the value(s) to false

Email sending

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

Checkout values

GST

GST calculation is based on the subtotal amount AFTER the discount (is there is one) plus shipping cost.

Shipping cost

Templating

If you would like to create your own cart templates, please override below files:

FAQ

Test cards?

POLi

Username: DemoShopper

Password: DemoShopper

Payment Express

Card: 4111111111111111

Card Holder: YOUR_NAME

Expiry: [leave it as it is]

CVV: 100

Paystation

Card: 5555555555554444

Card Holder: YOUR_NAME

Expiry: 0521

CVV: 100

Stripe

Card: 4000005540000008

Expiry: 0555

CVV: 555

Why Payment Express method rounds my payable total (or amount shows up on the payment gateway is different from what's on the checkout grand total)?

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.


All versions of ecommerce with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cita/ecommerce contains the following files

Loading the files please wait ....