2017 © Pedro Peláez
 

library lbpayment

Form element for reuse

image

libressltd/lbpayment

Form element for reuse

  • Friday, January 27, 2017
  • by libressltd
  • Repository
  • 0 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

LBPayment

Install, (*1)

composer require libressltd/lbpayment, (*2)

After install, (*3)

Add to config/app.php, service provider, (*4)

LIBRESSLtd\LBPayment\LBPaymentServiceProvider::class,, (*5)

Run migration & vendor publish, (*6)

php artisan migration

php artisan vendor:publish --tag="lbpayment" --force
php artisan vendor:publish --tag="lbpayment_config" --force

Implement inside your transaction class (to handle when transaction change the status), (*7)

function LBP_transaction_updated($status) { // $status // 0: pending // -1 failed // 1: done }, (*8)

Payments will post with a 'status' field, here are the currently defined values: -2 = PayPal Refund or Reversal -1 = Cancelled / Timed Out 0 = Waiting for buyer funds 1 = We have confirmed coin reception from the buyer 2 = Queued for nightly payout (if you have the Payout Mode for this coin set to Nightly) 3 = PayPal Pending (eChecks or other types of holds) 100 = Payment Complete. We have sent your coins to your payment address or 3rd party payment system reports the payment complete For future-proofing your IPN handler you can use the following rules: <0 = Failures/Errors 0-99 = Payment is Pending in some way, (*9)

=100 = Payment completed successfully IMPORTANT: You should never ship/release your product until the status is >= 100 OR == 2 (Queued for nightly payout)!, (*10)

The Versions

27/01 2017

dev-master

9999999-dev

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

19/01 2017

0.0.3

0.0.3.0

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

10/01 2017

0.0.2.2

0.0.2.2

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

30/12 2016

0.0.2.1

0.0.2.1

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

29/12 2016

0.0.2

0.0.2.0

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

28/12 2016

0.0.1.6

0.0.1.6

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

28/12 2016

0.0.1.5

0.0.1.5

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

22/12 2016

0.0.1.4

0.0.1.4

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

22/12 2016

0.0.1.3

0.0.1.3

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

22/12 2016

0.0.1.2

0.0.1.2

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

22/12 2016

0.0.1.1

0.0.1.1

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

22/12 2016

0.0.1

0.0.1.0

Form element for reuse

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd