Skip to content

Releases: OpenBuildings/paypal

Upgrade PHP version to ^7.1 and PHPUnit version to ^7

20 Feb 17:24
a22131f

Choose a tag to compare

Merge pull request #19 from OpenBuildings/add-php-versions-support

Add php versions support

Update error handling

07 Feb 07:50

Choose a tag to compare

If 'paymentExecStatus' is not one of CREATED, COMPLETED, INCOMPLETE or PENDING, then the request is considered a failure and an exception is thrown. At the moment they can be "ERROR" and "REVERSALERROR"

https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-payments/Pay_API_Operation/


Also move to scrutinizer for code coverage / analysis.

0.4.1: Fix refund request with receiver list conversion and currency

26 Nov 17:18

Choose a tag to compare

Fix refund request with receiver list converstion and currency

0.4.0: Refactor Adaptive Payments.

26 Nov 12:54

Choose a tag to compare

New class `Payment_Adaptive_Simple` is introduced as a base class for
simple, parallel and chained payments.

`Payment_Adaptive` is an abstract base class for all Adaptive Payments API calls.

`Payment_Adaptive_Refund` is introduced for the Refund API.
It extends `Payment_Adaptive` similar to `Payment_Adaptive_PaymentDetails`.

Converting receivers to receiverList is extracted into `Util::receiver_list` with
support for accountId.

Added a bit more test coverage, but new code and @covers annotations are reducing
the code coverage percent.

0.3.1

01 Nov 16:20

Choose a tag to compare

Fix merging of fields in Payment_Adaptive::do_payment

0.3.0: Make Parallel and Chained fields straightforward.

01 Nov 09:26

Choose a tag to compare

In overall the Paraller and the Chained payments should not rely on email.
Chained payments should not be responsible for selecting the primary receiver.
They should not be responsible for computing the amount for any of the receivers.
Fixes #3.
Fixes #4.

0.2.1

31 Oct 14:46

Choose a tag to compare

Make Util::parse_str() static

Overall improvements with some breaking changes in public functions

31 Oct 13:12

Choose a tag to compare

  • Improve setting/getting of environment with Payment::environment()
  • Introduce Util class for static helpers.
  • Improve tests.
  • Organize parse_response better.
  • More self:: and static:: calls.
  • Add PaymentDetails API operation to AdaptivePayments

0.1.2

31 Oct 13:04

Choose a tag to compare

Improve namespaces and add @covers annotations in tests

Add possibility to pass custom parameters to paypal

22 Sep 14:54

Choose a tag to compare

Merge pull request #6 from marcw/custom-parameters

Add possibility to pass custom parameters to paypal