2017 © Pedro Peláez
 

library laravel-cybersource

This package wraps the Cybersource SOAP API in a convenient, easy to use package for Laravel.

image

a17mad/laravel-cybersource

This package wraps the Cybersource SOAP API in a convenient, easy to use package for Laravel.

  • Saturday, May 12, 2018
  • by ahmadElknany
  • Repository
  • 3 Watchers
  • 3 Stars
  • 15 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 650 % Grown

The README.md

Laravel Cybersource SOAP & Secure Acceptance

This package wraps the Cybersource Secure Acceptance & SOAP API in a convenient, easy to use package for Laravel., (*1)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system., (*2)

Installation

composer require a17mad/laravel-cybersource

If you use laravel < 5.5 you must add this to config\app.php

 Providers Array 
   JustGeeky\LaravelCybersource\Providers\LaravelCybersourceServiceProvider::class

 Facade Array 
   "Cybersource" => JustGeeky\LaravelCybersource\Facades\Cybersource::class

Publishing Configuration

php artisan vendor:publish --tag=cybersource

Usage Of Secure Acceptance Form

Add your Cybersource Profile Credentials
* config\cybersource-profiles.php, (*3)

- cd into your app 
- php artisan serve
- Visit (http://127.0.0.1:8000/cybersource/payment/form)

Usage SOAP

Example usage using Facade:
* Create New Subscription (Receive Cybersource Profile Token), (*4)

$response = Cybersource::createSubscription(
    $paymentToken,
    $productId,
    $productTotal,
    $frequency
);

if($response->isValid()) {
    $responseDetails = $response->getDetails();
    echo $responseDetails['paySubscriptionCreateReply']['subscriptionID'];
} else {
    echo $response->error();
}

Get The Current Subscription Details:, (*5)

$response = Cybersource::getSubscriptionStatus(
    $subscriptionID
);

if($response->isValid()) {
    $responseDetails = $response->getDetails();
    echo $responseDetails['message'];
} else {
    echo $response->error();
}

Author

  • Ahmad Elkenany - Development - Linkedin

License

This project is licensed under the MIT License - see the LICENSE.md file for details, (*6)

Acknowledgments

  • For Secure Acceptance Web / Mobile Check Out CyberSource DOCS at W/M
  • For Secure Acceptance Silent Order POST Check Out CyberSource DOCS at SOP, (*7)

  • For SOAP Toolkit API Check Out CyberSource DOCS at SOAP, (*8)

Support on Beerpay

Hey dude! Help me out for a couple of :beers:!, (*9)

Beerpay Beerpay, (*10)

The Versions

12/05 2018

dev-master

9999999-dev

This package wraps the Cybersource SOAP API in a convenient, easy to use package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmad Elknany

laravel payments integration visa cybersource laravel-cybersource cybersource payments laravel

12/05 2018

1.0

1.0.0.0

This package wraps the Cybersource SOAP API in a convenient, easy to use package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmad Elknany

laravel payments integration visa cybersource laravel-cybersource cybersource payments laravel

28/04 2018

1.2

1.2.0.0

This package wraps the Cybersource SOAP API in a convenient, easy to use package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmad Elknany

28/04 2018

1.1

1.1.0.0

This package wraps the Cybersource SOAP API in a convenient, easy to use package for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmad Elknany