Skip to content

Welcome this is a Store or Webshop for pyrocms. its currrently in development we hope to have a working version near the beginning or end of december. if you have any questions don't hesitate to ask them. greetings the pyrocms-store team

Notifications You must be signed in to change notification settings

ivoamaral/pyrocms-store

 
 

Repository files navigation

CI Merchant Library

Requirements

  • CodeIgniter 2.0+

Quick Start

// load the merchant library
$this->load->library('merchant');

// load a payment driver
$this->merchant->load('paypal');

// initialize payment driver settings (if not already done in config)
$this->merchant->initialize(array(
	'paypal_email' => 'text@example.com'
));

// process payment
$this->merchant->purchase(array(
	'amount' => 99.00,
	'currency' => 'USD',
	'reference' => 'Order #50'
));

// process return from payment gateway (hosted payment gateways only)
$this->merchant->purchase_return();

License

You are free to use this code under the terms of the MIT License. See LICENSE.txt for further details.

About

Welcome this is a Store or Webshop for pyrocms. its currrently in development we hope to have a working version near the beginning or end of december. if you have any questions don't hesitate to ask them. greetings the pyrocms-store team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published