Skip to content

Commit

Permalink
1.10.0 (#160)
Browse files Browse the repository at this point in the history
* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

* BP-2441 Added support for transaction requests without specifying a service code (#102)

* Update Transaction Comment (#103)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* 1.5.0 (#98)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* Update Transaction Comment

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* created new PayablePaymentMethod for when no service is specified

* fix style

* Minor fixes

* update phpdoc, and fix Line exceeds 120 characters

* Remove method paynoservice

* Inlcude monolog version 3

* Include ramsey version 4

* Add missing property

* Add PayRemainder in KlarnaPay (#112)

* Pay remainder missing for some methods (#113)

* Add PayRemainder to Alipay

* Add PayRemainder to Paypal

* Add PayRemainder to Payconiq

* Add PayRemainder to Afterpay

* Add PayRemainder to Trustly

* Add PayRemainder to Przelewy24

* Add PayRemainder to Belfius

* Add PayRemainder to EPS

* Revert Belfius

* Revert EPS

* Revert Payconiq

* BP-2509 Add Instant refunds,no service payment refactor (#109)

* BP-2527 Batch functionality (#114)

* WIP

* Batch finished

* Update php-cs-fixer

* php cs fixer

* PHPcs

* Add transaction batch endpoint

* phpcs fix

* V1.6.0

* BP-2511 Removed Ippies (#117)

* BP-2417 Added Thunes

* Deleted Ippies

* Deleted Thunes changes

* BP-2417 Added Thunes (#111)

* BP-2417 Added Thunes

* BP-2417 Added Thunes

* End of line

* added the example again

* Deleted Article.php

* BP-2543 - Add (Bancontact) Deferred Sales (#116)

* Added Deferred Sales

* Authenticate method refers to authorize

* BP-2617 - Allow CustomParameters (#118)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Bugfix/addition parameter (#119)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Fixing wrong name in additional parameter

* Retain float in json_encode (#121)

* Version change

* BP-2507 Add Payment initiation (#110)

* BP-2507 Add Payment initiation

* BP-2507 Add Payment initiation

* phpcs

* PSR2

* PSR2

* Phpcs

* Add missing shipping cost to refund in afterpay (#124)

* Bp 2688 update readme file (#125)

* v1.6.0 (#115)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

* BP-2441 Added support for transaction requests without specifying a service code (#102)

* Update Transaction Comment (#103)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* 1.5.0 (#98)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* Update Transaction Comment

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* created new PayablePaymentMethod for when no service is specified

* fix style

* Minor fixes

* update phpdoc, and fix Line exceeds 120 characters

* Remove method paynoservice

* Inlcude monolog version 3

* Include ramsey version 4

* Add missing property

* Add PayRemainder in KlarnaPay (#112)

* Pay remainder missing for some methods (#113)

* Add PayRemainder to Alipay

* Add PayRemainder to Paypal

* Add PayRemainder to Payconiq

* Add PayRemainder to Afterpay

* Add PayRemainder to Trustly

* Add PayRemainder to Przelewy24

* Add PayRemainder to Belfius

* Add PayRemainder to EPS

* Revert Belfius

* Revert EPS

* Revert Payconiq

* BP-2509 Add Instant refunds,no service payment refactor (#109)

* BP-2527 Batch functionality (#114)

* WIP

* Batch finished

* Update php-cs-fixer

* php cs fixer

* PHPcs

* Add transaction batch endpoint

* phpcs fix

* V1.6.0

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>

* Push validator fix (#123)

* Retain float in json_encode

* Version update

* Update README.md

Update READM.md

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>

* BP-2461 - Add the correct ModuleVersion and PlatformName (#120)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Fixing wrong name in additional parameter

* Ability to fill in software header

* Able to pass in a config object into the constructor

* PHP CS Fixer

* Ignoring spaceafterkeyword

* BP-2650 - Culture was not working correctly (#126)

* BP-2417 Added Thunes

* BP-2650 - Culture was not working correctly

* Deleted Thunes/Models/Article.php

* Adding culture to config

* Phpcs fix

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Prepare v1.7.0

* Merge conflict resolved

* Remove head merge conflict

* Comment removal

* Comment removal

* Add pay by bank example (#128)

* BP-2797   Add possibility to change Channel header (#134)

* BP-2417 Added Thunes

* BP-2797 Add possibility to change Channel header

* delete file

* Delete Channel from Payload

* Features/in3new (#138)

* In3 new

* In3 new 2

* In3 new final touches

* Filename update

* In3 new added example

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Prepare release 1.8.0

* BP-2873

* BP-2912 rename IDin to iDin (#145)

* BP-2417 Added Thunes

* Idin name change to idin

* deleted article Thunes

* Changed uppercase

* Changed name

* excluded iDin in check

* BP-3034 Add payment method "MB WAY" (#147)

* BP-3034 Add payment method "MB WAY"

* fix namespace

* fix folder naming

* fix tests

---------

Co-authored-by: Ivascu Madalin <madalin.ivascu@arnia.ro>

* BP-3020 Add payment method "Multibanco" (#148)

* BP-3020 Add payment method "Multibanco"

* fix tests

---------

Co-authored-by: Ivascu Madalin <madalin.ivascu@arnia.ro>

* Add GitHub action file

* Phone number fixes (#144)

* Remove unused phone parameters

* Remove comma after last element from array

* add method to get issuers for PayByBank (#152)

+ add tests for PayByBank & iDeal
+ create trait for reusable

* BP-3009 Resolve SonarQube bugs and update README.md (#151)

* Bugs and code smells

* Deleted unused method

* 1.9.0 (#154)

* Prepare release v1.8.0 (#139)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

* BP-2441 Added support for transaction requests without specifying a service code (#102)

* Update Transaction Comment (#103)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* 1.5.0 (#98)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* Update Transaction Comment

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* created new PayablePaymentMethod for when no service is specified

* fix style

* Minor fixes

* update phpdoc, and fix Line exceeds 120 characters

* Remove method paynoservice

* Inlcude monolog version 3

* Include ramsey version 4

* Add missing property

* Add PayRemainder in KlarnaPay (#112)

* Pay remainder missing for some methods (#113)

* Add PayRemainder to Alipay

* Add PayRemainder to Paypal

* Add PayRemainder to Payconiq

* Add PayRemainder to Afterpay

* Add PayRemainder to Trustly

* Add PayRemainder to Przelewy24

* Add PayRemainder to Belfius

* Add PayRemainder to EPS

* Revert Belfius

* Revert EPS

* Revert Payconiq

* BP-2509 Add Instant refunds,no service payment refactor (#109)

* BP-2527 Batch functionality (#114)

* WIP

* Batch finished

* Update php-cs-fixer

* php cs fixer

* PHPcs

* Add transaction batch endpoint

* phpcs fix

* V1.6.0

* BP-2511 Removed Ippies (#117)

* BP-2417 Added Thunes

* Deleted Ippies

* Deleted Thunes changes

* BP-2417 Added Thunes (#111)

* BP-2417 Added Thunes

* BP-2417 Added Thunes

* End of line

* added the example again

* Deleted Article.php

* BP-2543 - Add (Bancontact) Deferred Sales (#116)

* Added Deferred Sales

* Authenticate method refers to authorize

* BP-2617 - Allow CustomParameters (#118)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Bugfix/addition parameter (#119)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Fixing wrong name in additional parameter

* Retain float in json_encode (#121)

* Version change

* BP-2507 Add Payment initiation (#110)

* BP-2507 Add Payment initiation

* BP-2507 Add Payment initiation

* phpcs

* PSR2

* PSR2

* Phpcs

* Add missing shipping cost to refund in afterpay (#124)

* Bp 2688 update readme file (#125)

* v1.6.0 (#115)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

* BP-2441 Added support for transaction requests without specifying a service code (#102)

* Update Transaction Comment (#103)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* 1.5.0 (#98)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* Update Transaction Comment

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* created new PayablePaymentMethod for when no service is specified

* fix style

* Minor fixes

* update phpdoc, and fix Line exceeds 120 characters

* Remove method paynoservice

* Inlcude monolog version 3

* Include ramsey version 4

* Add missing property

* Add PayRemainder in KlarnaPay (#112)

* Pay remainder missing for some methods (#113)

* Add PayRemainder to Alipay

* Add PayRemainder to Paypal

* Add PayRemainder to Payconiq

* Add PayRemainder to Afterpay

* Add PayRemainder to Trustly

* Add PayRemainder to Przelewy24

* Add PayRemainder to Belfius

* Add PayRemainder to EPS

* Revert Belfius

* Revert EPS

* Revert Payconiq

* BP-2509 Add Instant refunds,no service payment refactor (#109)

* BP-2527 Batch functionality (#114)

* WIP

* Batch finished

* Update php-cs-fixer

* php cs fixer

* PHPcs

* Add transaction batch endpoint

* phpcs fix

* V1.6.0

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>

* Push validator fix (#123)

* Retain float in json_encode

* Version update

* Update README.md

Update READM.md

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>

* BP-2461 - Add the correct ModuleVersion and PlatformName (#120)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Fixing wrong name in additional parameter

* Ability to fill in software header

* Able to pass in a config object into the constructor

* PHP CS Fixer

* Ignoring spaceafterkeyword

* BP-2650 - Culture was not working correctly (#126)

* BP-2417 Added Thunes

* BP-2650 - Culture was not working correctly

* Deleted Thunes/Models/Article.php

* Adding culture to config

* Phpcs fix

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Prepare v1.7.0

* Merge conflict resolved

* Remove head merge conflict

* Comment removal

* Comment removal

* Add pay by bank example (#128)

* BP-2797   Add possibility to change Channel header (#134)

* BP-2417 Added Thunes

* BP-2797 Add possibility to change Channel header

* delete file

* Delete Channel from Payload

* Features/in3new (#138)

* In3 new

* In3 new 2

* In3 new final touches

* Filename update

* In3 new added example

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Prepare release 1.8.0

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>
Co-authored-by: Rene <105488705+Buckaroo-Rene@users.noreply.github.com>

* Prepare v1.8.1 (#149)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

* BP-2441 Added support for transaction requests without specifying a service code (#102)

* Update Transaction Comment (#103)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* 1.5.0 (#98)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* Update Transaction Comment

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* created new PayablePaymentMethod for when no service is specified

* fix style

* Minor fixes

* update phpdoc, and fix Line exceeds 120 characters

* Remove method paynoservice

* Inlcude monolog version 3

* Include ramsey version 4

* Add missing property

* BP-2417 Added Thunes

* Add PayRemainder in KlarnaPay (#112)

* Pay remainder missing for some methods (#113)

* Add PayRemainder to Alipay

* Add PayRemainder to Paypal

* Add PayRemainder to Payconiq

* Add PayRemainder to Afterpay

* Add PayRemainder to Trustly

* Add PayRemainder to Przelewy24

* Add PayRemainder to Belfius

* Add PayRemainder to EPS

* Revert Belfius

* Revert EPS

* Revert Payconiq

* BP-2509 Add Instant refunds,no service payment refactor (#109)

* BP-2527 Batch functionality (#114)

* WIP

* Batch finished

* Update php-cs-fixer

* php cs fixer

* PHPcs

* Add transaction batch endpoint

* phpcs fix

* V1.6.0

* BP-2511 Removed Ippies (#117)

* BP-2417 Added Thunes

* Deleted Ippies

* Deleted Thunes changes

* BP-2417 Added Thunes (#111)

* BP-2417 Added Thunes

* BP-2417 Added Thunes

* End of line

* added the example again

* Deleted Article.php

* BP-2543 - Add (Bancontact) Deferred Sales (#116)

* Added Deferred Sales

* Authenticate method refers to authorize

* BP-2617 - Allow CustomParameters (#118)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Bugfix/addition parameter (#119)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Fixing wrong name in additional parameter

* Retain float in json_encode (#121)

* Version change

* BP-2507 Add Payment initiation (#110)

* BP-2507 Add Payment initiation

* BP-2507 Add Payment initiation

* phpcs

* PSR2

* PSR2

* Phpcs

* Add missing shipping cost to refund in afterpay (#124)

* Bp 2688 update readme file (#125)

* v1.6.0 (#115)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

* BP-2441 Added support for transaction requests without specifying a service code (#102)

* Update Transaction Comment (#103)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* 1.5.0 (#98)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

* Return string instead of int in subcode code (#88)

* [Bugfixes] outdated subscription example (#90)

* Return string instead of int in subcode code

* Update subscription examples

* Update Paypal test

* GitHub/action psr12 and phplint validation (#92)

* 1.4.0 (#86)

* Request To Pay Payment method removed (#77)

* Fixed an issue with getting issuers for iDeal (#78)

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Adding missing subscriptions parameters (#79)

* Add missing parameters

* Add docblock

* Bancontact update & fixes (#80)

* Add missing parameters

* Add docblock

* Add bancontact alias

* Fix wrong naming to payrecurring and add payoneclick method

* Return null when response data is not set (#81)

* BP-2345 add return and push url in the i deal qr request in the php sdk (#83)

* Return null when response data is not set

* Add missing parameters

* Update test and example

* 1.3.1

* Changing the version

* Merge conflict

* Update changelog

* Update changelog

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Added action

* Added comment to trigger github action

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>

* Update ideal qr test (#94)

* BP-2404 Feature/8.2 support (#95)

* Update ideal qr test

* Add group reference

* Move tests folder

* wip

* Conform phpcs

* Remove comments

* Release 1.5.0 (#97)

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* Update Transaction Comment

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>

* created new PayablePaymentMethod for when no service is specified

* fix style

* Minor fixes

* update phpdoc, and fix Line exceeds 120 characters

* Remove method paynoservice

* Inlcude monolog version 3

* Include ramsey version 4

* Add missing property

* Add PayRemainder in KlarnaPay (#112)

* Pay remainder missing for some methods (#113)

* Add PayRemainder to Alipay

* Add PayRemainder to Paypal

* Add PayRemainder to Payconiq

* Add PayRemainder to Afterpay

* Add PayRemainder to Trustly

* Add PayRemainder to Przelewy24

* Add PayRemainder to Belfius

* Add PayRemainder to EPS

* Revert Belfius

* Revert EPS

* Revert Payconiq

* BP-2509 Add Instant refunds,no service payment refactor (#109)

* BP-2527 Batch functionality (#114)

* WIP

* Batch finished

* Update php-cs-fixer

* php cs fixer

* PHPcs

* Add transaction batch endpoint

* phpcs fix

* V1.6.0

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>

* Push validator fix (#123)

* Retain float in json_encode

* Version update

* Update README.md

Update READM.md

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>
Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>

* BP-2461 - Add the correct ModuleVersion and PlatformName (#120)

* Added Deferred Sales

* Authenticate method refers to authorize

* Able to send custom parameters

* Fixing wrong name in additional parameter

* Ability to fill in software header

* Able to pass in a config object into the constructor

* PHP CS Fixer

* Ignoring spaceafterkeyword

* BP-2650 - Culture was not working correctly (#126)

* BP-2417 Added Thunes

* BP-2650 - Culture was not working correctly

* Deleted Thunes/Models/Article.php

* Adding culture to config

* Phpcs fix

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Prepare v1.7.0

* Merge conflict resolved

* Remove head merge conflict

* Comment removal

* Comment removal

* Add pay by bank example (#128)

* BP-2797   Add possibility to change Channel header (#134)

* BP-2417 Added Thunes

* BP-2797 Add possibility to change Channel header

* delete file

* Delete Channel from Payload

* Features/in3new (#138)

* In3 new

* In3 new 2

* In3 new final touches

* Filename update

* In3 new added example

---------

Co-authored-by: Shu Chen <shuch3n90@gmail.com>

* Prepare release 1.8.0

* BP-2873

* Idin name change to idin

* deleted article Thunes

* Changed uppercase

* Changed name

* excluded iDin in check

* Prepare 1.8.1 release

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Sander <sander.vdhulst98@gmail.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>
Co-authored-by: Rene <105488705+Buckaroo-Rene@users.noreply.github.com>

* Checkout update

* Version update

* Fixing merge conflict

* Update workflows

* disable sonarcube

* Revert checklint

* Revert

* revert types and checkout version

* Remove sonarqube entirely

* Workflow

* Remove matrix os

* Re-add sonarqube

* removed error with exception

* Adding php 8.3

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>
Co-authored-by: Rene <105488705+Buckaroo-Rene@users.noreply.github.com>
Co-authored-by: Sander <sander.vdhulst98@gmail.com>

* Merge conflict

* created a Factory to determine which guzzlehttp version is used

* fix

* BP-3189-add-get-active-subscription-to-retrieve-all-buckaroo-subscriptions (#157)

* BP-3189 Add "GetActiveSubscription" to retrieve all Buckaroo subscriptions

* add tests

* format currency

* fix formatting

* fix x

* fix pipe error

---------

Co-authored-by: Ivascu Madalin <madalin.ivascu@arnia.ro>

* BP-3179 Add support for "External Payments" (#158)

* BP-3179 Add support for "External Payments"

* rename test function

---------

Co-authored-by: Ivascu Madalin <madalin.ivascu@arnia.ro>

* Prepare release 1.9.1

* 1.9.1

---------

Co-authored-by: reflie-nxte <122365318+reflie-nxte@users.noreply.github.com>
Co-authored-by: avido <sebastiaan@avido.nl>
Co-authored-by: Sander H <37146557+SandervdHulst@users.noreply.github.com>
Co-authored-by: Muneeb Shoukat <89547149+Muneeb60coder@users.noreply.github.com>
Co-authored-by: vegim carkaxhija <vegim.carkaxhija@gmail.com>
Co-authored-by: Lucian Turiac <106905746+LucianTuriacArnia@users.noreply.github.com>
Co-authored-by: Rinor12010 <105772190+Rinor12010@users.noreply.github.com>
Co-authored-by: Rene <105488705+Buckaroo-Rene@users.noreply.github.com>
Co-authored-by: Ivascu Madalin <madalinivascu@gmail.com>
Co-authored-by: Ivascu Madalin <madalin.ivascu@arnia.ro>
Co-authored-by: Vildan Bina <vildanbina@gmail.com>
Co-authored-by: Sander <sander.vdhulst98@gmail.com>
  • Loading branch information
13 people authored Dec 19, 2023
1 parent 2a3b360 commit a304b9e
Show file tree
Hide file tree
Showing 13 changed files with 423 additions and 61 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "buckaroo/sdk",
"description": "Buckaroo payment SDK",
"license": "MIT",
"version": "1.9.0",
"version": "1.9.1",
"type": "library",
"require": {
"php": ">=7.4|^8.0",
Expand Down
17 changes: 17 additions & 0 deletions example/additional_services/getActiveSubscriptions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

require_once __DIR__ . '/../bootstrap.php';

use Buckaroo\BuckarooClient;

$buckaroo = new BuckarooClient($_ENV['BPE_WEBSITE_KEY'], $_ENV['BPE_SECRET_KEY']);

try {
foreach ($buckaroo->getActiveSubscriptions() as $subscription) {
$availableCurrencies = implode(",", $subscription['currencies']);
echo "serviceCode: " . $subscription['serviceCode'] . "\n";
echo "- available currencies: " . $availableCurrencies . "\n";
}
} catch (\Throwable $th) {
var_dump($th);
}
19 changes: 19 additions & 0 deletions example/transactions/externalPayment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

require_once __DIR__.'/../bootstrap.php';

use Buckaroo\BuckarooClient;

$buckaroo = new BuckarooClient($_ENV['BPE_WEBSITE_KEY'], $_ENV['BPE_SECRET_KEY']);

$response = $buckaroo->method('externalPayment')->pay([
'invoice' => uniqid(),
'amountDebit' => 10.10,
'channel' => 'BackOffice'
]);

$buckaroo->method('externalPayment')->refund([
'amountCredit' => 10,
'invoice' => 'testinvoice 123',
'originalTransactionKey' => $response->getTransactionKey(),
]);
7 changes: 7 additions & 0 deletions src/BuckarooClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use Buckaroo\Handlers\Logging\Observer as LoggingObserver;
use Buckaroo\PaymentMethods\BatchTransactions;
use Buckaroo\PaymentMethods\PaymentFacade;
use Buckaroo\Services\ActiveSubscriptions;
use Buckaroo\Services\TransactionService;
use Buckaroo\Transaction\Client;

Expand Down Expand Up @@ -73,6 +74,12 @@ public function method(string $method = null): PaymentFacade
return new PaymentFacade($this->client, $method);
}


public function getActiveSubscriptions(): array
{
return (new ActiveSubscriptions($this->client))->get();
}

/**
* @param array $transactions
* @return BatchTransactions
Expand Down
30 changes: 30 additions & 0 deletions src/PaymentMethods/ExternalPayment/ExternalPayment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
/*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License
* It is available through the world-wide-web at this URL:
* https://tldrlegal.com/license/mit-license
* If you are unable to obtain it through the world-wide-web, please send an email
* to support@buckaroo.nl so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please contact support@buckaroo.nl for more information.
*
* @copyright Copyright (c) Buckaroo B.V.
* @license https://tldrlegal.com/license/mit-license
*/

declare(strict_types=1);

namespace Buckaroo\PaymentMethods\ExternalPayment;

use Buckaroo\PaymentMethods\PayablePaymentMethod;

class ExternalPayment extends PayablePaymentMethod
{
protected string $paymentName = 'ExternalPayment';
}
68 changes: 35 additions & 33 deletions src/PaymentMethods/PaymentMethodFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,51 +20,52 @@

namespace Buckaroo\PaymentMethods;

use Buckaroo\Transaction\Client;
use Buckaroo\PaymentMethods\EPS\EPS;
use Buckaroo\PaymentMethods\In3\In3;
use Buckaroo\PaymentMethods\KBC\KBC;
use Buckaroo\PaymentMethods\iDin\iDin;
use Buckaroo\PaymentMethods\SEPA\SEPA;
use Buckaroo\PaymentMethods\iDeal\iDeal;
use Buckaroo\PaymentMethods\MBWay\MBWay;
use Buckaroo\PaymentMethods\Tinka\Tinka;
use Buckaroo\Exceptions\BuckarooException;
use Buckaroo\PaymentMethods\Afterpay\Afterpay;
use Buckaroo\PaymentMethods\AfterpayDigiAccept\AfterpayDigiAccept;
use Buckaroo\PaymentMethods\Alipay\Alipay;
use Buckaroo\PaymentMethods\ApplePay\ApplePay;
use Buckaroo\PaymentMethods\Bancontact\Bancontact;
use Buckaroo\PaymentMethods\BankTransfer\BankTransfer;
use Buckaroo\PaymentMethods\In3Old\In3Old;
use Buckaroo\PaymentMethods\Paypal\Paypal;
use Buckaroo\PaymentMethods\Sofort\Sofort;
use Buckaroo\PaymentMethods\Thunes\Thunes;
use Buckaroo\PaymentMethods\Belfius\Belfius;
use Buckaroo\PaymentMethods\Billink\Billink;
use Buckaroo\PaymentMethods\BuckarooVoucher\BuckarooVoucher;
use Buckaroo\PaymentMethods\BuckarooWallet\BuckarooWallet;
use Buckaroo\PaymentMethods\CreditCard\CreditCard;
use Buckaroo\PaymentMethods\CreditClick\CreditClick;
use Buckaroo\PaymentMethods\CreditManagement\CreditManagement;
use Buckaroo\PaymentMethods\Emandates\Emandates;
use Buckaroo\PaymentMethods\EPS\EPS;
use Buckaroo\PaymentMethods\MBWay\MBWay;
use Buckaroo\PaymentMethods\GiftCard\GiftCard;
use Buckaroo\PaymentMethods\Giropay\Giropay;
use Buckaroo\PaymentMethods\iDeal\iDeal;
use Buckaroo\PaymentMethods\iDealQR\iDealQR;
use Buckaroo\PaymentMethods\iDin\iDin;
use Buckaroo\PaymentMethods\In3\In3;
use Buckaroo\PaymentMethods\In3Old\In3Old;
use Buckaroo\PaymentMethods\KBC\KBC;
use Buckaroo\PaymentMethods\Surepay\Surepay;
use Buckaroo\PaymentMethods\Trustly\Trustly;
use Buckaroo\PaymentMethods\Afterpay\Afterpay;
use Buckaroo\PaymentMethods\ApplePay\ApplePay;
use Buckaroo\PaymentMethods\GiftCard\GiftCard;
use Buckaroo\PaymentMethods\KlarnaKP\KlarnaKP;
use Buckaroo\PaymentMethods\Payconiq\Payconiq;
use Buckaroo\PaymentMethods\Emandates\Emandates;
use Buckaroo\PaymentMethods\KlarnaPay\KlarnaPay;
use Buckaroo\PaymentMethods\Marketplaces\Marketplaces;
use Buckaroo\PaymentMethods\WeChatPay\WeChatPay;
use Buckaroo\PaymentMethods\Bancontact\Bancontact;
use Buckaroo\PaymentMethods\CreditCard\CreditCard;
use Buckaroo\PaymentMethods\Multibanco\Multibanco;
use Buckaroo\PaymentMethods\NoServiceSpecifiedPayment\NoServiceSpecifiedPayment;
use Buckaroo\PaymentMethods\Payconiq\Payconiq;
use Buckaroo\PaymentMethods\PaymentInitiation\PaymentInitiation;
use Buckaroo\PaymentMethods\Paypal\Paypal;
use Buckaroo\PaymentMethods\Przelewy24\Przelewy24;
use Buckaroo\PaymentMethods\CreditClick\CreditClick;
use Buckaroo\PaymentMethods\PayPerEmail\PayPerEmail;
use Buckaroo\PaymentMethods\PointOfSale\PointOfSale;
use Buckaroo\PaymentMethods\Przelewy24\Przelewy24;
use Buckaroo\PaymentMethods\SEPA\SEPA;
use Buckaroo\PaymentMethods\Sofort\Sofort;
use Buckaroo\PaymentMethods\BankTransfer\BankTransfer;
use Buckaroo\PaymentMethods\Marketplaces\Marketplaces;
use Buckaroo\PaymentMethods\Subscriptions\Subscriptions;
use Buckaroo\PaymentMethods\Surepay\Surepay;
use Buckaroo\PaymentMethods\Thunes\Thunes;
use Buckaroo\PaymentMethods\Tinka\Tinka;
use Buckaroo\PaymentMethods\Trustly\Trustly;
use Buckaroo\PaymentMethods\WeChatPay\WeChatPay;
use Buckaroo\Transaction\Client;
use Buckaroo\PaymentMethods\BuckarooWallet\BuckarooWallet;
use Buckaroo\PaymentMethods\BuckarooVoucher\BuckarooVoucher;
use Buckaroo\PaymentMethods\ExternalPayment\ExternalPayment;
use Buckaroo\PaymentMethods\CreditManagement\CreditManagement;
use Buckaroo\PaymentMethods\PaymentInitiation\PaymentInitiation;
use Buckaroo\PaymentMethods\AfterpayDigiAccept\AfterpayDigiAccept;
use Buckaroo\PaymentMethods\NoServiceSpecifiedPayment\NoServiceSpecifiedPayment;

class PaymentMethodFactory
{
Expand Down Expand Up @@ -107,6 +108,7 @@ class PaymentMethodFactory
PayPerEmail::class => ['payperemail'],
PaymentInitiation::class => ['paymentinitiation','paybybank'],
EPS::class => ['eps'],
ExternalPayment::class => ['externalpayment'],
Emandates::class => ['emandates'],
Sofort::class => ['sofort', 'sofortueberweisung'],
Tinka::class => ['tinka'],
Expand Down
120 changes: 120 additions & 0 deletions src/Services/ActiveSubscriptions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?php
/*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License
* It is available through the world-wide-web at this URL:
* https://tldrlegal.com/license/mit-license
* If you are unable to obtain it through the world-wide-web, please send an email
* to support@buckaroo.nl so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please contact support@buckaroo.nl for more information.
*
* @copyright Copyright (c) Buckaroo B.V.
* @license https://tldrlegal.com/license/mit-license
*/

namespace Buckaroo\Services;

use Exception;
use SimpleXMLElement;
use Buckaroo\Models\ServiceList;
use Buckaroo\Transaction\Client;
use Buckaroo\Transaction\Request\TransactionRequest;

class ActiveSubscriptions
{

private const SERVICE_CODE_AND_ACTION = 'GetActiveSubscriptions';

private const VERSION_ZERO = 0;

private const SERVICE_PARAM_KEY = 'activesubscriptions';

private Client $client;

public function __construct(Client $client)
{
$this->client = $client;
}

public function get(): array
{
try {
$xmlString = $this->client
->dataRequest($this->buildTransaction())
->getServiceParameters()[self::SERVICE_PARAM_KEY] ?? null;

if (!is_string($xmlString)) {
return [];
}

$xml = new SimpleXMLElement($xmlString, LIBXML_NOCDATA);

return $this->format(
$xml->xpath('/ArrayOfServiceCurrencies/ServiceCurrencies')
);
} catch (Exception $e) {
return [];
}
}

private function buildTransaction(): TransactionRequest
{
$transaction = new TransactionRequest();

$transaction
->getServices()
->pushServiceList(
new ServiceList(
self::SERVICE_CODE_AND_ACTION,
self::VERSION_ZERO,
self::SERVICE_CODE_AND_ACTION
)
);
return $transaction;
}

private function format($data): array
{
$decoded = json_decode(json_encode($data), true);
if (!is_array($decoded)) {
return [];
}

$formated = [];
foreach ($decoded as $subscription) {
$formatedSubscription = [];
foreach ($subscription as $key => $subscriptionData) {
$camelKey = lcfirst($key);
$formatedSubscription[$camelKey] = $this->formatValue($camelKey, $subscriptionData);
}
$formated[] = $formatedSubscription;
}
return $formated;
}

/**
* Format value for currency
*
* @param string $key
* @param string|array $value
*
* @return string|array
*/
private function formatValue($key, $value)
{
if ($key === 'currencies') {
$value = $value["string"];
if (is_string($value)) {
$value = [$value];
}
}

return $value;
}
}
6 changes: 3 additions & 3 deletions src/Transaction/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use Buckaroo\Services\TransactionHeaders\DefaultHeader;
use Buckaroo\Services\TransactionHeaders\HmacHeader;
use Buckaroo\Services\TransactionHeaders\SoftwareHeader;
use Buckaroo\Transaction\Request\HttpClient\HttpClientGuzzle;
use Buckaroo\Transaction\Request\HttpClient\HttpClientFactory;
use Buckaroo\Transaction\Request\HttpClient\HttpClientInterface;
use Buckaroo\Transaction\Request\Request;
use Buckaroo\Transaction\Response\Response;
Expand All @@ -43,7 +43,7 @@ class Client
private const METHOD_POST = 'POST';

/**
* @var HttpClientInterface|HttpClientGuzzle
* @var HttpClientInterface
*/
protected HttpClientInterface $httpClient;
/**
Expand All @@ -61,7 +61,7 @@ class Client
public function __construct(?Config $config)
{
$this->config = $config;
$this->httpClient = new HttpClientGuzzle($config->getLogger());
$this->httpClient = HttpClientFactory::createClient($config->getLogger());
}

/**
Expand Down
Loading

0 comments on commit a304b9e

Please sign in to comment.