2017 © Pedro Peláez
 

library paypalpayment

laravel-paypalpayment is simple package help you process direct credit card payments

image

cryoutsolutions/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card payments

  • Wednesday, August 6, 2014
  • by cryoutsolutions
  • Repository
  • 4 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

laravel-paypalrecuringpaymentscreditcard

laravel-paypalrecuringpaymentscreditcard process direct credit card payments recurring profiles with laravel 4, (*1)

Installation

Install this package through Composer. To your composer.json file, add:, (*2)

"require-dev": {
    "cryoutsolutions/paypalpayment": "dev-master"
}

Next, run composer update to download it., (*3)

Add the service provider to app/config/app.php, within the providers array., (*4)

'providers' => array(
    // ...

    'Cryoutsolutions\Paypalpayment\PaypalpaymentServiceProvider',
)

Finally, add the alias to app/config/app.php, within the aliases array., (*5)

'aliases' => array(
    // ...

    'Paypalpayment'   => 'Cryoutsolutions\Paypalpayment\Facades\PaypalPayment',
)

Configuration

php artisan config:publish cryoutsolutions/paypalpayment, (*6)

Example Code

Create Recurring Profile

$startDate= "2014-02-28T00:00:00:000Z";
$frequency = 1;
$period = "Month";
$amount=1;
$initialAmount=1;
$description='recurring payment';
$creditCard = Paypalpayment::CreditCardDetailsType();
$creditCard->CreditCardNumber = "4745425765192217";
$creditCard->CreditCardType = "Visa";
$creditCard->CVV2 = "962";
$creditCard->ExpMonth = 02;
$creditCard->ExpYear = 2014;
Paypalpayment::CreateRecurringProfile($startDate,$frequency,$period,$amount,$initialAmount,$creditCard, $description);

You'll receive an answer like this:

object(CreateRecurringPaymentsProfileResponseType)[141]
  public 'CreateRecurringPaymentsProfileResponseDetails' => 
    object(CreateRecurringPaymentsProfileResponseDetailsType)[150]
      public 'ProfileID' => string 'I-GK8UGKHHL712' (length=14)
      public 'ProfileStatus' => string 'PendingProfile' (length=14)
      public 'TransactionID' => string '97X027701D1414537' (length=17)
      public 'DCCProcessorResponse' => null
      public 'DCCReturnCode' => null
  public 'Timestamp' => string '2014-02-28T10:29:04Z' (length=20)
  public 'Ack' => string 'Success' (length=7)
  public 'CorrelationID' => string 'c4f4c798cc28d' (length=13)
  public 'Errors' => null
  public 'Version' => string '106.0' (length=5)
  public 'Build' => string '9777850' (length=7)

Sponsored by therapick, (*7)

The Versions

06/08 2014

dev-master

9999999-dev

laravel-paypalpayment is simple package help you process direct credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

05/03 2014

v0.2.0

0.2.0.0

laravel-paypalpayment is simple package help you process direct credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

28/02 2014

v0.1.7

0.1.7.0

laravel-paypalpayment is simple package help you process direct credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

27/02 2014

v0.1.6

0.1.6.0

laravel-paypalpayment is simple package help you process direct credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

27/02 2014

v0.1.5

0.1.5.0

laravel-paypalrecuringpaymentscreditcard is a package to help you process and create recuring paypal credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

27/02 2014

v0.1.4

0.1.4.0

laravel-paypalrecuringpaymentscreditcard is a package to help you process and create recuring paypal credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

27/02 2014

v0.1.3

0.1.3.0

laravel-paypalrecuringpaymentscreditcard is a package to help you process and create recuring paypal credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

27/02 2014

v0.1.2

0.1.2.0

laravel-paypalrecuringpaymentscreditcard is a package to help you process and create recuring paypal credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga

26/02 2014

v0.1.1

0.1.1.0

laravel-paypalrecuringpaymentscreditcard is a package to help you process and create recuring paypal credit card payments

  Sources   Download

BSD-2-Clause

The Requires

 

by Adrian Taralunga