worldpay Allows integration with Worldpay ecommerce system

  1. Requirements
  2. Usage

This extension allows a quick an easy method of sending payments or donations to the Worldpay e-commerce web platform.

http://www.worldpay.com/

Requirements

Yii 1.1 or +

Usage

Move the files to the components directory of your application and edit config/main.php as appropriate. Here, my xml class is in a directory called xml.

// autoloading model and component classes
         'import'=>array(
                 'application.models.*',
                 'application.components.*',
                 'application.components.xml.*',
         ),

From controller: ~~~

      $config = array(
      'wpMerchantId' => 'xxxxxx',
      'wpMerchantKey' => 'xxxxxx',
      'wpVersion' => '1.4',
      'wpInstallationId' => 'xxxxxx',
      'wpCurrency' => 'xxx',
      'wpServerUrl' => 'xxx',
      'wpSuccessUrl' => 'xxx',
      'wpFailUrl' => 'xxx',
      'purchaseName' => 'xxx',
      'purchaseDesc' => 'xxx',
      'purchaseCount' => 'xxx',
      'purchaseId' => 'xxx',
      'buyerTitle' => 'xxx',
      'buyerFirst' => 'xxx',
      'buyerLast' => 'xxx',
      'buyerPhone' => 'xxx',
      'buyerEmail' => 'xxx',
      'buyerPostcode' => 'xxx',
      'buyerHouseNo' => 'xxx',
      'buyerAddressTwo' => 'xxx',
      'buyerCity' => 'xxx',
      'buyerCountry' => 'xxx',
      'buyerCardType' => 'xxx';
      'certPath' => 'xxx';
       );

$cart = new worldpayCart($config); $cart->send_worldpay_xml($cart->get_XML());






1 0
3 followers
410 downloads
Yii Version: 1.1
License: GPL-3.0
Category: Web Service
Developed by: rix.rix.
Created on: May 31, 2012
Last updated: 5 years ago

Downloads

show all

Related Extensions