From 94bb8e308ebb19cde9a39b742910f0d583c06649 Mon Sep 17 00:00:00 2001 From: Shu Chen Date: Thu, 23 Mar 2023 09:37:13 +0100 Subject: [PATCH] 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 * 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 * 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 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 --- .env.example | 22 ++++---- .github/workflows/codestyle.yml | 35 ++++++++++++ .php-cs-fixer.cache | 2 +- CHANGELOG.md | 7 +++ composer.json | 4 +- example/additional_services/subscriptions.php | 56 ++++++++++++------- example/bootstrap.php | 1 + example/responses/push.php | 2 +- example/transactions/klarna.php | 1 + phpcs.xml | 20 +++++++ phpunit.xml | 4 +- src/Config/Config.php | 3 +- src/Handlers/Credentials.php | 7 +-- src/Handlers/Logging/DefaultLogger.php | 3 +- src/Handlers/Logging/Observers/Monolog.php | 3 + src/Handlers/Reply/HttpPost.php | 6 +- src/Handlers/Reply/ReplyHandler.php | 4 +- .../BuckarooVoucher/Models/Create.php | 2 + src/PaymentMethods/PaymentFacade.php | 5 ++ src/PaymentMethods/PaymentMethod.php | 11 +++- .../Subscriptions/Models/Configuration.php | 2 +- .../Subscriptions/Models/RatePlanCharge.php | 2 +- .../Subscriptions/Models/Subscription.php | 2 +- src/PaymentMethods/iDeal/iDeal.php | 7 +-- .../TransactionHeaders/CultureHeader.php | 7 +++ .../TransactionHeaders/HmacHeader.php | 2 + .../Request/HttpClient/HttpClientGuzzle.php | 10 ++-- src/Transaction/Request/Request.php | 11 +--- src/Transaction/Response/Response.php | 2 + .../Response/TransactionResponse.php | 4 +- .../Buckaroo}/BuckarooTestCase.php | 3 +- .../Buckaroo}/ConfirmingCredentialsTest.php | 2 +- .../Payments/AfterpayDigiAcceptTest.php | 4 +- .../Buckaroo}/Payments/AfterpayTest.php | 4 +- .../Buckaroo}/Payments/AlipayTest.php | 4 +- .../Buckaroo}/Payments/ApplepayTest.php | 4 +- .../Buckaroo}/Payments/BancontactTest.php | 4 +- .../Buckaroo}/Payments/BelfiusTest.php | 4 +- .../Buckaroo}/Payments/BillinkTest.php | 4 +- .../Payments/BuckarooVoucherTest.php | 4 +- .../Buckaroo}/Payments/BuckarooWalletTest.php | 4 +- .../Buckaroo}/Payments/CreditClickTest.php | 4 +- .../Payments/CreditManagementTest.php | 4 +- .../Buckaroo}/Payments/CreditcardTest.php | 4 +- .../Buckaroo}/Payments/EPSTest.php | 4 +- .../Buckaroo}/Payments/EmandatesTest.php | 4 +- .../Buckaroo}/Payments/GiftcardsTest.php | 4 +- .../Buckaroo}/Payments/GiropayTest.php | 4 +- .../Buckaroo}/Payments/IdealQRTest.php | 9 ++- .../Buckaroo}/Payments/IdealTest.php | 8 +-- .../Buckaroo}/Payments/In3Test.php | 4 +- .../Buckaroo}/Payments/KBCTest.php | 4 +- .../Buckaroo}/Payments/KlarnaKPTest.php | 4 +- .../Buckaroo}/Payments/KlarnaTest.php | 4 +- .../Buckaroo}/Payments/MarketplacesTest.php | 4 +- .../Buckaroo}/Payments/PayPerEmailTest.php | 4 +- .../Buckaroo}/Payments/PayconiqTest.php | 4 +- .../Buckaroo}/Payments/PaypalTest.php | 33 ++++++----- .../Buckaroo}/Payments/PosTest.php | 4 +- .../Buckaroo}/Payments/Przelewy24Test.php | 4 +- .../Buckaroo}/Payments/PushTest.php | 7 +-- .../Buckaroo}/Payments/SepaTest.php | 4 +- .../Buckaroo}/Payments/SofortTest.php | 4 +- .../Buckaroo}/Payments/SubscriptionsTest.php | 7 +-- .../Buckaroo}/Payments/SurepayTest.php | 4 +- .../Buckaroo}/Payments/TinkaTest.php | 4 +- .../Buckaroo}/Payments/TransferTest.php | 4 +- .../Buckaroo}/Payments/TrustlyTest.php | 4 +- .../Buckaroo}/Payments/WeChatPayTest.php | 4 +- .../Buckaroo}/Payments/iDinTest.php | 4 +- 70 files changed, 275 insertions(+), 173 deletions(-) create mode 100644 .github/workflows/codestyle.yml create mode 100644 phpcs.xml rename {src/Tests => tests/Buckaroo}/BuckarooTestCase.php (94%) rename {src/Tests => tests/Buckaroo}/ConfirmingCredentialsTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/AfterpayDigiAcceptTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/AfterpayTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/AlipayTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/ApplepayTest.php (96%) rename {src/Tests => tests/Buckaroo}/Payments/BancontactTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/BelfiusTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/BillinkTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/BuckarooVoucherTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/BuckarooWalletTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/CreditClickTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/CreditManagementTest.php (99%) rename {src/Tests => tests/Buckaroo}/Payments/CreditcardTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/EPSTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/EmandatesTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/GiftcardsTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/GiropayTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/IdealQRTest.php (79%) rename {src/Tests => tests/Buckaroo}/Payments/IdealTest.php (93%) rename {src/Tests => tests/Buckaroo}/Payments/In3Test.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/KBCTest.php (94%) rename {src/Tests => tests/Buckaroo}/Payments/KlarnaKPTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/KlarnaTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/MarketplacesTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/PayPerEmailTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/PayconiqTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/PaypalTest.php (82%) rename {src/Tests => tests/Buckaroo}/Payments/PosTest.php (93%) rename {src/Tests => tests/Buckaroo}/Payments/Przelewy24Test.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/PushTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/SepaTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/SofortTest.php (94%) rename {src/Tests => tests/Buckaroo}/Payments/SubscriptionsTest.php (97%) rename {src/Tests => tests/Buckaroo}/Payments/SurepayTest.php (93%) rename {src/Tests => tests/Buckaroo}/Payments/TinkaTest.php (98%) rename {src/Tests => tests/Buckaroo}/Payments/TransferTest.php (96%) rename {src/Tests => tests/Buckaroo}/Payments/TrustlyTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/WeChatPayTest.php (95%) rename {src/Tests => tests/Buckaroo}/Payments/iDinTest.php (95%) diff --git a/.env.example b/.env.example index 8d1199d7..c05ac37a 100644 --- a/.env.example +++ b/.env.example @@ -1,12 +1,12 @@ -BPE_WEBSITE = "Example.com" -BPE_WEBSITE_KEY = "KEY" -BPE_SECRET_KEY = "SECRET" -BPE_MODE = "test" -BPE_DEBUG = true -BPE_REPORT_ERROR = true +BPE_WEBSITE="Example.com" +BPE_WEBSITE_KEY="KEY" +BPE_SECRET_KEY="SECRET" +BPE_MODE="test" +BPE_DEBUG=true +BPE_REPORT_ERROR=true -BPE_EXAMPLE_BASE_URL = "https://example.com/buckaroo/" -BPE_EXAMPLE_RETURN_URL = "${BPE_EXAMPLE_BASE_URL}return" -BPE_EXAMPLE_PUSH_URL = "${BPE_EXAMPLE_BASE_URL}push" -BPE_EXAMPLE_IP = "127.0.0.1" -BPE_EXAMPLE_CURRENCY_CODE = "EUR" +BPE_EXAMPLE_BASE_URL="https://example.com/buckaroo/" +BPE_EXAMPLE_RETURN_URL="${BPE_EXAMPLE_BASE_URL}return" +BPE_EXAMPLE_PUSH_URL="${BPE_EXAMPLE_BASE_URL}push" +BPE_EXAMPLE_IP="127.0.0.1" +BPE_EXAMPLE_CURRENCY_CODE="EUR" diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml new file mode 100644 index 00000000..1348548f --- /dev/null +++ b/.github/workflows/codestyle.yml @@ -0,0 +1,35 @@ +name: CheckStyleAndLint + +on: + pull_request: + paths: + - "src/**.php" + - "example/**.php" + +jobs: + phpcs: + runs-on: ubuntu-latest + strategy: + fail-fast: true + matrix: + php: [7.4, 8.1, 8.2] + stability: [prefer-stable] + + name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + tools: cs2pr, phplint, phpcs + + - name: Run phplint + run: phplint --no-configuration --no-cache --no-interaction ./src/* ./example/* + + - name: Run phpcs + run: phpcs -q --report=checkstyle --extensions=php ./src/* | cs2pr diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 888444f4..5c8d2e10 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.1.14","version":"3.13.2:v3.13.2#3952f08a81bd3b1b15e11c3de0b6bf037faa8496","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":{"allow_single_line_closure":false,"position_after_functions_and_oop_constructs":"next","position_after_anonymous_constructs":"next","position_after_control_structures":"next"},"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_trait_insert_per_statement":true},"hashes":{"src\/BuckarooClient.php":"a04feed78f40b502363053f348a95d42","src\/Config\/Config.php":"3049e56bf3e3a3f2b947f4a18cded93a","src\/Config\/DefaultConfig.php":"ff088b4e5124f40155cc198401134378","src\/Exceptions\/BuckarooException.php":"d2544fdaa34bf1de4d51630f8d9cc5a9","src\/Exceptions\/TransferException.php":"d6d7bc200cb3e9697368e423c2dfacd5","src\/Handlers\/Credentials.php":"72547a0871ef078f61217d9c387e8bf6","src\/Handlers\/HMAC\/Generator.php":"285cbc96e2eb0a709b1d541602257cae","src\/Handlers\/HMAC\/Hmac.php":"18f9016e7c5aea3a0b692d20723940a7","src\/Handlers\/HMAC\/Validator.php":"75a5227ff35b94611b9799121e026abc","src\/Handlers\/Logging\/DefaultLogger.php":"91e9a8fa50a5770f092be6a546f4f179","src\/Handlers\/Logging\/Loggable.php":"f4b7e8704cbbe37d9c354801bebbfc59","src\/Handlers\/Logging\/Observer.php":"060d6e5806f7d7e16004d03cab986d37","src\/Handlers\/Logging\/Observers\/ErrorReporter.php":"7ec7da9e92f3b23b4c5d4efce8d86bd9","src\/Handlers\/Logging\/Observers\/Monolog.php":"b74e205fce2dd76bd9e70867ccb8f8ec","src\/Handlers\/Logging\/Subject.php":"3d67799142a50aab2eef4e24219cb74e","src\/Handlers\/Reply\/HttpPost.php":"4e0f9906ba5d6cdd307ebfadee255542","src\/Handlers\/Reply\/Json.php":"c9843468bfb3433c27fcd733d659e28a","src\/Handlers\/Reply\/ReplyHandler.php":"db1fe60f80a3c5d8c4e4250743e4eafa","src\/Handlers\/Reply\/ReplyStrategy.php":"5bab082004f01d9950a9bc1ff468cd69","src\/Models\/Adapters\/ServiceParametersKeysAdapter.php":"b9ba2ebeed2dcfc47dac37dca6f3546c","src\/Models\/AdditionalParameters.php":"4971bbecdfda4aafd081ff5dbc1e3dd0","src\/Models\/Address.php":"ceeab777c91d46aeae2d4e7ab5d7df99","src\/Models\/Article.php":"aa20190c5a3dd2ff6ae169268a2d34e0","src\/Models\/BankAccount.php":"e82a08360df8697c9e059178a7c8fbd8","src\/Models\/ClientIP.php":"e19df1c3fe6357c96c26e2f8ff1e5e29","src\/Models\/Company.php":"d47ad3497173c8fc6fb6fc3daa73aec9","src\/Models\/Debtor.php":"3e6ab2b25de1e477d44bfb1165913366","src\/Models\/Email.php":"982763a72eb2935b8a9b3e9982ed72ca","src\/Models\/Interfaces\/Recipient.php":"85589ae85ccc2fdeecc18b3b2a0fdcbb","src\/Models\/Model.php":"2c7d00151866c93051e081a74097bd88","src\/Models\/Payload\/PayPayload.php":"cca5ff8b604ae2aa749b6b3dfabbaf82","src\/Models\/Payload\/Payload.php":"7a0b6e8625d6fdc41c98aefbe37ae306","src\/Models\/Payload\/RefundPayload.php":"50ca2b6fadd6d1dfc1af85e4e475a551","src\/Models\/Person.php":"da9fce2330f7dbe81553cdf6a6ff5474","src\/Models\/Phone.php":"1a9f7c4872419d316fdebb2703f658a8","src\/Models\/ServiceList.php":"e51064ef8722035a1af8577f1cdb29dc","src\/Models\/ServiceParameter.php":"dafc671a780a47388f2cf6067b9c08ce","src\/Models\/Services.php":"953ba8de24fdf96f25f87a19439528d4","src\/PaymentMethods\/Afterpay\/Afterpay.php":"5220a26153046c35a71c5f9544a8c07c","src\/PaymentMethods\/Afterpay\/Models\/Article.php":"1101df36002c534b8194c8f38b5f359c","src\/PaymentMethods\/Afterpay\/Models\/Pay.php":"e8d7f0818eb7078a61ca31056c8c1394","src\/PaymentMethods\/Afterpay\/Models\/Person.php":"400ed6119966980ff0c48ca7e75702c6","src\/PaymentMethods\/Afterpay\/Models\/Recipient.php":"1da6ea525690661c2237ab21382ed19e","src\/PaymentMethods\/Afterpay\/Models\/Refund.php":"bc0c928de027bd2c3eca4ad997d2ed10","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/AddressAdapter.php":"692191fd233a1ea93b3dea94a8b4a9d1","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/ArticleAdapter.php":"c9cf7fac3e8bd7554fb773180301ddfe","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/PhoneAdapter.php":"5a13e983066abe460ae4831cabe1c428","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/RecipientAdapter.php":"9ce22d14bc2d17220e3f5765720f713a","src\/PaymentMethods\/AfterpayDigiAccept\/AfterpayDigiAccept.php":"a17f362fc17716edaf11c5e6c2f1dc8f","src\/PaymentMethods\/AfterpayDigiAccept\/Models\/Pay.php":"59cb734c920506b03f62bd89b9590554","src\/PaymentMethods\/AfterpayDigiAccept\/Models\/Recipient.php":"049301de1c6a4ca82cba08830ff04eb0","src\/PaymentMethods\/AfterpayDigiAccept\/Models\/Refund.php":"0453cf9fdd07cd1ff5cb68feac2cc2c1","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/AddressAdapter.php":"81ac818062aaf5e4aca0deaef2d0f17c","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/ArticleAdapter.php":"54cb4aa29bbfa9d13250d7c90069eab0","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/EmailAdapter.php":"607a333d0355446d5b2bb5d78d2648af","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/PhoneAdapter.php":"e025168a23f2bc4033e4f08669604ee7","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/RecipientAdapter.php":"9f932e8753a8dd4bb8e2a4c5a5b4be9b","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/ServiceAdapter.php":"bc34e01a54c01929cda40c8bac36de03","src\/PaymentMethods\/Alipay\/Alipay.php":"dd908e596902c85130e0e4920da04272","src\/PaymentMethods\/Alipay\/Models\/Pay.php":"fb9572ebd5464e8a006c0681a452e951","src\/PaymentMethods\/ApplePay\/ApplePay.php":"877e953b5326ffa57f75dbe34496c185","src\/PaymentMethods\/ApplePay\/Models\/Pay.php":"3b614359549f91062e646ab56f436490","src\/PaymentMethods\/ApplePay\/Models\/PayPayload.php":"c676ee7ee1bcc1907a04a27f9e2ac160","src\/PaymentMethods\/Bancontact\/Bancontact.php":"0fdc7bf41bf2669e20e919deebcc3ff9","src\/PaymentMethods\/Bancontact\/Models\/Authenticate.php":"62906afe0a165a35651eb394b951193d","src\/PaymentMethods\/Bancontact\/Models\/Pay.php":"8fc9760c4052b60eb79d5ffa3b0ae69b","src\/PaymentMethods\/Bancontact\/Models\/PayEncrypted.php":"f0f4283c57c8ab2bb06e5f5950f8e643","src\/PaymentMethods\/BankTransfer\/BankTransfer.php":"15b6812b9c8cc34f2d81aaa685c99f5d","src\/PaymentMethods\/BankTransfer\/Models\/Pay.php":"991cff07b81d31ad98343c9ccf674510","src\/PaymentMethods\/BankTransfer\/Service\/ParameterKeys\/CustomerAdapter.php":"6c859ee4db8fc7fa505e5e7987da5977","src\/PaymentMethods\/BankTransfer\/Service\/ParameterKeys\/EmailAdapter.php":"cdbdc24a8503270b046be3553bfe4583","src\/PaymentMethods\/BankTransfer\/Service\/ParameterKeys\/PayAdapter.php":"ae9149be34d4d0912b490722b6756e86","src\/PaymentMethods\/Belfius\/Belfius.php":"6d0514225d9c9f5281900d7bc53e704c","src\/PaymentMethods\/Billink\/Billink.php":"adb3e9af9aea69f6ed8c2d0f8ecc280b","src\/PaymentMethods\/Billink\/Models\/Article.php":"ed916bb29315a44950f44604b5a6b399","src\/PaymentMethods\/Billink\/Models\/Capture.php":"d78606a9918a5925ed15a11cc29df1f6","src\/PaymentMethods\/Billink\/Models\/Pay.php":"74e1561269fdf63a24a696cb0de0c5fb","src\/PaymentMethods\/Billink\/Models\/Recipient.php":"39b57b32e18e6069844aad09f92b0f43","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/AddressAdapter.php":"8de6d09943d0621affdda7e724708274","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/ArticleAdapter.php":"4f5d6145f7becd1ed27ca33f22077397","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/PhoneAdapter.php":"0edca59d6e4c151f1c85fe465c6ef3bd","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/RecipientAdapter.php":"105fa7a29317a0b80f1a8b9b119c5fc1","src\/PaymentMethods\/BuckarooVoucher\/BuckarooVoucher.php":"b181c9e03dd924b899cac175e8c15259","src\/PaymentMethods\/BuckarooVoucher\/Models\/Create.php":"767d5866d5be79b887c0fcb2dc37f7c3","src\/PaymentMethods\/BuckarooVoucher\/Models\/CreatePayload.php":"42913f90c793c2ed1b27fc855fae68c8","src\/PaymentMethods\/BuckarooVoucher\/Models\/Deactivate.php":"96bed609390d0ecb3dd8a94dd9ba240b","src\/PaymentMethods\/BuckarooVoucher\/Models\/GetBalance.php":"65b690ff91464e3898d3d960467c6690","src\/PaymentMethods\/BuckarooVoucher\/Models\/Pay.php":"e39a2921209a5c4ec9f5649dd3c4ac50","src\/PaymentMethods\/BuckarooWallet\/BuckarooWallet.php":"ef5b362c63a5fde93fa3281690c79c41","src\/PaymentMethods\/BuckarooWallet\/Models\/DepositReservePayload.php":"c57b8f8352bc2b4eac33fa49d8416958","src\/PaymentMethods\/BuckarooWallet\/Models\/ReleasePayload.php":"e31a198d3046222442855a7ec111d9ef","src\/PaymentMethods\/BuckarooWallet\/Models\/Wallet.php":"fd1d7d36ea9c27bc6da65aadb2d48a38","src\/PaymentMethods\/BuckarooWallet\/Service\/ParameterKeys\/BankAccountAdapter.php":"3a433e884d2b0d755f469a20861a6430","src\/PaymentMethods\/BuckarooWallet\/Service\/ParameterKeys\/CustomerAdapter.php":"303e6c1671897d735dd113cc4166af1d","src\/PaymentMethods\/BuckarooWallet\/Service\/ParameterKeys\/EmailAdapter.php":"703b17e3e3fcb9175aab78ce7d317ef7","src\/PaymentMethods\/CreditCard\/CreditCard.php":"025762107dba72d62e3c8f6a1de74bbd","src\/PaymentMethods\/CreditCard\/Models\/CardData.php":"df7536390b7b2b7a63903a0ff3d24069","src\/PaymentMethods\/CreditCard\/Models\/SecurityCode.php":"d9a6a20c5ca807629e3b4a1877446132","src\/PaymentMethods\/CreditClick\/CreditClick.php":"9e5484352aa2b73cbf5ece5e238d826f","src\/PaymentMethods\/CreditClick\/Models\/Pay.php":"8e8763e5fdf905c1c58e689fc96a77d0","src\/PaymentMethods\/CreditClick\/Models\/Refund.php":"82ec73b5892602d35c0321150ec499b7","src\/PaymentMethods\/CreditClick\/Service\/ParameterKeys\/CustomerAdapter.php":"7f94f0737428a95fde806eec14d2be5d","src\/PaymentMethods\/CreditManagement\/CreditManagement.php":"2bb0a0507d143bc8d42ea4c6cb523f92","src\/PaymentMethods\/CreditManagement\/Models\/AddOrUpdateProductLines.php":"5275167ba0256eb6e0aeffe0f6ade3a5","src\/PaymentMethods\/CreditManagement\/Models\/Article.php":"61b8495754e71a08c69f4aa5267c5e0b","src\/PaymentMethods\/CreditManagement\/Models\/CreditNote.php":"386def7c4e3295db852923423ac99b9b","src\/PaymentMethods\/CreditManagement\/Models\/Debtor.php":"611fdd1a517f779701709420e7b0866e","src\/PaymentMethods\/CreditManagement\/Models\/DebtorFile.php":"59f4fe33c0156a68fb9153b492a3c824","src\/PaymentMethods\/CreditManagement\/Models\/DebtorInfo.php":"f78fdb63e146972a09975a234b7e1d44","src\/PaymentMethods\/CreditManagement\/Models\/Invoice.php":"6a0c3c9d3f6149bcdd5b7f5cd20f6170","src\/PaymentMethods\/CreditManagement\/Models\/MultipleInvoiceInfo.php":"e8b87aa2fcbd7357f0cea6ef05f4f0f0","src\/PaymentMethods\/CreditManagement\/Models\/PaymentPlan.php":"1e1c12e66f2091ba9a65090364ad62dd","src\/PaymentMethods\/CreditManagement\/Service\/ParameterKeys\/ArticleAdapter.php":"d644cfeb053b9ed4c585badae22c39cd","src\/PaymentMethods\/CreditManagement\/Service\/ParameterKeys\/DebtorInfoAdapter.php":"111483943c0c031041d2cf9c5bdd6896","src\/PaymentMethods\/EPS\/EPS.php":"4a19a3827ec83faed3a7abae33fb60c2","src\/PaymentMethods\/Emandates\/Emandates.php":"e1f0adf6f026b2004ca4db417295a483","src\/PaymentMethods\/Emandates\/Models\/Mandate.php":"825f7606cdce24b7cd87c85c56ef51be","src\/PaymentMethods\/GiftCard\/GiftCard.php":"605c12b4ba7a57b69538a94bcfd1bc48","src\/PaymentMethods\/GiftCard\/Models\/Pay.php":"5672b5bb84a6ec7989fb82b3c70f566f","src\/PaymentMethods\/GiftCard\/Models\/PayPayload.php":"6beb12d039bb1a75e9545860c3cbf9bc","src\/PaymentMethods\/Giropay\/Giropay.php":"afe9d431a68e56af845b5945c6ee6d72","src\/PaymentMethods\/Giropay\/Models\/Pay.php":"bd0fb92797290265baafbef8c143d77b","src\/PaymentMethods\/In3\/In3.php":"2ce32872023af75f0a60be62474f46a9","src\/PaymentMethods\/In3\/Models\/Pay.php":"bc41a5976dc954f06bab49e3451b4931","src\/PaymentMethods\/In3\/Models\/PayPayload.php":"5e1559127bd6bcc39af9cba5016f71fe","src\/PaymentMethods\/In3\/Models\/Subtotal.php":"1a9ac4476a45521af82482e1be6ba854","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/AddressAdapter.php":"53b92ce98c02ae7d93e6b14227563b47","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/ArticleAdapter.php":"58b9d16f6ea930ac4efc763a326e28ca","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/CompanyAdapter.php":"f5ea7377501c6af673f61849e5566f58","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/PhoneAdapter.php":"2d6f0fa594ab03430d55ec26dcd8ba39","src\/PaymentMethods\/Interfaces\/Combinable.php":"b3a8a715e15d40f1fec8e8aa69e23db4","src\/PaymentMethods\/KBC\/KBC.php":"1dd2a8585a64b8078339a1172f09bf10","src\/PaymentMethods\/KlarnaKP\/KlarnaKP.php":"2c5696440cc568dc337c0d7cb4ebfc48","src\/PaymentMethods\/KlarnaKP\/Models\/Payload.php":"b33d782fc49f5ec4e61aa240da52d2de","src\/PaymentMethods\/KlarnaKP\/Models\/Recipient.php":"1ea7c1ca72ea5b10c109db5752ed158f","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/AddressAdapter.php":"b683bbacf1c10c1e7b0dc3625b83730a","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/ArticleAdapter.php":"7d987920678ff84247fa9941d2a219d0","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/EmailAdapter.php":"6c7a63c151b2d52475ba843259e369da","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/PhoneAdapter.php":"3f18c0a203e29cdb2c7fbed3e5e78e71","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/RecipientAdapter.php":"a79df1fdeb4bcc7f4147218891a266df","src\/PaymentMethods\/KlarnaPay\/KlarnaPay.php":"74ffbf3cc7239a4dbb3ab30698e19792","src\/PaymentMethods\/KlarnaPay\/Models\/Pay.php":"158f36bcb659ea6d2fe6226c7dd6900c","src\/PaymentMethods\/KlarnaPay\/Models\/PayPayload.php":"74f8711b521078bc34dfb2abeef6bcb6","src\/PaymentMethods\/KlarnaPay\/Models\/Recipient.php":"d5cf4d926b5d08c514150fc4e98f6343","src\/PaymentMethods\/KlarnaPay\/Service\/ParameterKeys\/AddressAdapter.php":"ae4d5a23dc640095d90cbb919ecdeab2","src\/PaymentMethods\/KlarnaPay\/Service\/ParameterKeys\/ArticleAdapter.php":"99629484c73633b2fcef73e74a2016ca","src\/PaymentMethods\/KlarnaPay\/Service\/ParameterKeys\/PhoneAdapter.php":"dbede561858850c098431e29785363a4","src\/PaymentMethods\/Marketplaces\/Marketplaces.php":"a58ad6edd52a8da52e37c55f88bf6a42","src\/PaymentMethods\/Marketplaces\/Models\/Marketplace.php":"c56e09f922cdc3c84912ba11414f37cc","src\/PaymentMethods\/Marketplaces\/Models\/Seller.php":"36a79655bb1190ecb8781b3b7fcd7ddf","src\/PaymentMethods\/Marketplaces\/Models\/ServiceList.php":"a25677f4cb9f55a72f90c78d9e05fad9","src\/PaymentMethods\/PayPerEmail\/Models\/Attachment.php":"ccff70fe9482b7ac0c4ee99c0f1e3923","src\/PaymentMethods\/PayPerEmail\/Models\/PaymentInvitation.php":"db244fffd49b47138ad8d32d14af187d","src\/PaymentMethods\/PayPerEmail\/PayPerEmail.php":"c07cb576cd8f37362b11dac19a7898e6","src\/PaymentMethods\/PayPerEmail\/Service\/ParameterKeys\/AttachmentAdapter.php":"cc857add67db197985a4879125190f84","src\/PaymentMethods\/PayPerEmail\/Service\/ParameterKeys\/CustomerAdapter.php":"cff29d3c99971efd11d19fc7392d23e2","src\/PaymentMethods\/PayPerEmail\/Service\/ParameterKeys\/EmailAdapter.php":"b16e545c775b75e3ed3747ef2151154b","src\/PaymentMethods\/PayablePaymentMethod.php":"eeb8a8a289ad40f6c7bffea0efe56311","src\/PaymentMethods\/Payconiq\/Payconiq.php":"057415ee3ede1bbbc1d9cb67a5e51bc2","src\/PaymentMethods\/PaymentFacade.php":"ba72ae85a84fe7f8c296b89f9fd9250e","src\/PaymentMethods\/PaymentInterface.php":"accc043249c9d1184d4fb100f14fb303","src\/PaymentMethods\/PaymentMethod.php":"0f51af639e899532e7e5df812644ec86","src\/PaymentMethods\/PaymentMethodFactory.php":"4d8d697c43d0931150afa37c8902a8a9","src\/PaymentMethods\/Paypal\/Models\/Address.php":"74d8d0bc2ac7235e4a1a657cc70827c9","src\/PaymentMethods\/Paypal\/Models\/ExtraInfo.php":"b1e13c02b0c39531358693233b028bf7","src\/PaymentMethods\/Paypal\/Models\/Pay.php":"67225ec2037509db760c99ad4038d459","src\/PaymentMethods\/Paypal\/Paypal.php":"ab57cc1612f2438ea246cd745bbd6b3c","src\/PaymentMethods\/Paypal\/Service\/ParameterKeys\/AddressAdapter.php":"d370a51df269afcfad9dc75e8e148dd4","src\/PaymentMethods\/Paypal\/Service\/ParameterKeys\/PhoneAdapter.php":"046f3a220b5602d42482a3a3ec389f9a","src\/PaymentMethods\/PointOfSale\/Models\/Pay.php":"e1842ac15bedd7a83aeaa296049252eb","src\/PaymentMethods\/PointOfSale\/PointOfSale.php":"25637901753d2c07d00ab6bf0beb381c","src\/PaymentMethods\/Przelewy24\/Models\/Pay.php":"814d22c0721a1c222f44dbd9a97383f7","src\/PaymentMethods\/Przelewy24\/Przelewy24.php":"1c983da62802be6050cfc74d8057f67f","src\/PaymentMethods\/Przelewy24\/Service\/ParameterKeys\/CustomerAdapter.php":"bc65a7576fe49c7c36d10f96f578fcc4","src\/PaymentMethods\/Przelewy24\/Service\/ParameterKeys\/EmailAdapter.php":"6af44a175667a1691e5161f8e7758d4e","src\/PaymentMethods\/RequestToPay\/Models\/Pay.php":"2fad82aa8337684d09515abef60a8b4d","src\/PaymentMethods\/RequestToPay\/RequestToPay.php":"7178be8eba90bce0db5d7a52a886ba88","src\/PaymentMethods\/RequestToPay\/Service\/ParameterKeys\/CustomerAdapter.php":"8462aea2ecf95c390320fb679baa982c","src\/PaymentMethods\/SEPA\/Models\/ExtraInfo.php":"22e1282bfe0d8d4a619e2e3488781709","src\/PaymentMethods\/SEPA\/Models\/Pay.php":"830cef74f9747712da251f22dac45a8f","src\/PaymentMethods\/SEPA\/SEPA.php":"4b1ca116d0a6fdb1af60ce65d6d58ae5","src\/PaymentMethods\/SEPA\/Service\/ParameterKeys\/AddressAdapter.php":"889d7bf15ae56a1e915e8174c98a7bad","src\/PaymentMethods\/SEPA\/Service\/ParameterKeys\/CustomerAdapter.php":"2af215870b7bb4d3c8fcf7c2e2de2ade","src\/PaymentMethods\/SEPA\/Service\/ParameterKeys\/PayAdapter.php":"d3b6a8f9c8bd89562484aa0d4d2fae45","src\/PaymentMethods\/Sofort\/Sofort.php":"c9569a2fd82566d49e0ab32049e31790","src\/PaymentMethods\/Subscriptions\/Models\/Charge.php":"5504ef5f4d0bc17d96265d16c5e12bd7","src\/PaymentMethods\/Subscriptions\/Models\/CombinedPayload.php":"596b2cff5735b04501f222405d5972f3","src\/PaymentMethods\/Subscriptions\/Models\/RatePlan.php":"9388bde594fb072e9464f00dd199e446","src\/PaymentMethods\/Subscriptions\/Models\/ResumeSubscription.php":"17986644eddcb97b87df97a9b3aee5cf","src\/PaymentMethods\/Subscriptions\/Models\/Subscription.php":"e6b7efee299adfe4e42af3ec3a3b0ca4","src\/PaymentMethods\/Subscriptions\/Service\/ParameterKeys\/CompanyAdapter.php":"a7b7d8f8accfcf9d36a1529b6e000939","src\/PaymentMethods\/Subscriptions\/Subscriptions.php":"eb54f618f94dfacfc4c99af8c789e629","src\/PaymentMethods\/Surepay\/Models\/Verify.php":"027841518d304cdf248d8cf1939ee0c8","src\/PaymentMethods\/Surepay\/Service\/ParameterKeys\/BankAccountAdapter.php":"9c1fa1ab42ab667878db82e1d6fbf8e0","src\/PaymentMethods\/Surepay\/Surepay.php":"bf44ddde109ed1fc424b6c585ab9bc51","src\/PaymentMethods\/Tinka\/Models\/Article.php":"2e2b75383981bd6bbff67cfe7a4ad566","src\/PaymentMethods\/Tinka\/Models\/Pay.php":"049ead8ce258a9e0ac6db008285ee31b","src\/PaymentMethods\/Tinka\/Models\/Recipient.php":"a1eb20125c466d0b48028c6c4f00f46c","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/AddressAdapter.php":"82e58c240201ff1468b8b9be353f33e9","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/ArticleAdapter.php":"05c428e81a33f41916f688964eb906da","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/CustomerAdapter.php":"be0e6db5b2a617fc6bc9e22af096ff9a","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/PhoneAdapter.php":"43c682cf85f9fbdeb64b9637df3a0240","src\/PaymentMethods\/Tinka\/Tinka.php":"90bf921d625064956a42dae45a155e1d","src\/PaymentMethods\/Traits\/CountableGroupKey.php":"bbaf4ac62c697e4ea8ecdc0ad979b08f","src\/PaymentMethods\/Trustly\/Models\/Pay.php":"4d7d1f5790586bb743c7205f34064b83","src\/PaymentMethods\/Trustly\/Service\/ParameterKeys\/CustomerAdapter.php":"e18c0a88bc3ba7f213623c11b2ddb78f","src\/PaymentMethods\/Trustly\/Service\/ParameterKeys\/PayAdapter.php":"ac193e9ad3cb7c91f33c93dba4876771","src\/PaymentMethods\/Trustly\/Trustly.php":"2e8290e1eaae8a1cd8e57b5e4f949f70","src\/PaymentMethods\/WeChatPay\/Models\/Pay.php":"b6752b57a0f3d33711c2d47ec6bcb4d8","src\/PaymentMethods\/WeChatPay\/WeChatPay.php":"7ff27945ea981100f38b22c0c529dfd7","src\/PaymentMethods\/iDeal\/Models\/Pay.php":"8953ccceaed38d93289ac3e4a0ed01b5","src\/PaymentMethods\/iDeal\/iDeal.php":"c702d7245950e5a9207f0ccccfc84cc9","src\/PaymentMethods\/iDealQR\/Models\/Generate.php":"f62e5ea61ee49356adaecbee64b4614e","src\/PaymentMethods\/iDealQR\/iDealQR.php":"b5ab8add224e4ce6119ab15e5674f8a6","src\/PaymentMethods\/iDin\/Models\/Issuer.php":"902e454bbfebb4bd52e6ef8b8ba98414","src\/PaymentMethods\/iDin\/Service\/ParameterKeys\/IssuerAdapter.php":"c94438083ea61affd5d9e93e408bb81e","src\/PaymentMethods\/iDin\/iDin.php":"90ce856c9fee3f40cb14d7c3a7af3ef5","src\/Resources\/Arrayable.php":"309daa9c8e87e451a36c15936d5096ea","src\/Resources\/Constants\/CreditManagementInstallmentInterval.php":"56be568c35303858ae97945530c21396","src\/Resources\/Constants\/Endpoints.php":"1ae5ae439f1e44add96c81154b667c00","src\/Resources\/Constants\/Gender.php":"97e49539071851397500521f9c89a12d","src\/Resources\/Constants\/IPProtocolVersion.php":"0db5ea9636219a2c7413db7123cf9bf6","src\/Resources\/Constants\/RecipientCategory.php":"5c1e88ed6130c05a6e70a7d63a93d35b","src\/Resources\/Constants\/ResponseStatus.php":"415427f1ee6d9d6f0ae0b493f35f7ced","src\/Services\/PayloadService.php":"b9389c2f502dba9d991deb80b0d35423","src\/Services\/ServiceListParameters\/DefaultParameters.php":"70310adb54e262d917a6f7cf56f33845","src\/Services\/ServiceListParameters\/ModelParameters.php":"95b6660ae0e9ea3b1c2a9b49c6464325","src\/Services\/ServiceListParameters\/ServiceListParameter.php":"6a3ee9bf76707933ca0e5f62b939b1ef","src\/Services\/TransactionHeaders\/CultureHeader.php":"4ab1521e0ba6d540413a28f40df56efc","src\/Services\/TransactionHeaders\/DefaultHeader.php":"49e846e47a97aec9e88e07876c91292b","src\/Services\/TransactionHeaders\/HmacHeader.php":"989d350872e2c2be58e58d194afeff00","src\/Services\/TransactionHeaders\/SoftwareHeader.php":"401661ee7e91717cc8e85dd287350697","src\/Services\/TransactionHeaders\/TransactionHeader.php":"3561b8da46cc8c2e30e388f4c14f43a2","src\/Services\/TransactionService.php":"645011cb9016de8ba4fe0e327c4c0e2f","src\/Tests\/BuckarooTestCase.php":"59fa0474f05eeb7fb58804f9c7a5abbf","src\/Tests\/ConfirmingCredentialsTest.php":"dafe9ac0d2130dd00a70a608bea45d79","src\/Tests\/Payments\/AfterpayDigiAcceptTest.php":"fa8f831a79138d351fc32f8689e894ad","src\/Tests\/Payments\/AfterpayTest.php":"7f9118c1255135c177c53622bde616d0","src\/Tests\/Payments\/AlipayTest.php":"34a11d65eaed60e78ba07c7ff212a8d6","src\/Tests\/Payments\/ApplepayTest.php":"03c6df81d4e5c1cfd9bd8de7dde6c1cc","src\/Tests\/Payments\/BancontactTest.php":"447848fa9bda9e46da7b6982d0f7beeb","src\/Tests\/Payments\/BelfiusTest.php":"d2d89a38269c89f958028c369c242fec","src\/Tests\/Payments\/BillinkTest.php":"e280f20bc1243a1e02bb411cde4c6a65","src\/Tests\/Payments\/BuckarooVoucherTest.php":"d89df1433fb4cfb96bf78d8f18ec4c5f","src\/Tests\/Payments\/BuckarooWalletTest.php":"afc1d0548f753945247999ba807afc48","src\/Tests\/Payments\/CreditClickTest.php":"1a2ebccf1d39c85f10dc94b4f65bc532","src\/Tests\/Payments\/CreditManagementTest.php":"d4962a2314b90551cd3d5d5045747204","src\/Tests\/Payments\/CreditcardTest.php":"97973a52c7c293bb465f18dbf7f6e738","src\/Tests\/Payments\/EPSTest.php":"723848a3ceac50ecc55bea1628af5524","src\/Tests\/Payments\/EmandatesTest.php":"ace1767a1082bd018c5bd92133668921","src\/Tests\/Payments\/GiftcardsTest.php":"3c95aac83049355c7406fafc238612a9","src\/Tests\/Payments\/GiropayTest.php":"d34db9464001d482efced6fce154fa81","src\/Tests\/Payments\/IdealQRTest.php":"762cffefc22390fa4cc9cfb8b2c69ac8","src\/Tests\/Payments\/IdealTest.php":"4358913a9c1cbb542a718ae63e191eae","src\/Tests\/Payments\/In3Test.php":"2f4cfd0f4fd6867dc9baa84a8af3e818","src\/Tests\/Payments\/KBCTest.php":"0613bc4562721c6f708ecdb5bc5e2e09","src\/Tests\/Payments\/KlarnaKPTest.php":"a37a85f8e1e890da350538e3700f3d4d","src\/Tests\/Payments\/KlarnaTest.php":"5bd8aa0aaed355119ee62f60e72d4750","src\/Tests\/Payments\/MarketplacesTest.php":"739a6b5b6800d013ac303a09bf2d3e7a","src\/Tests\/Payments\/PayPerEmailTest.php":"b3ba3a1b035a6d20c878ca7789b8bf4c","src\/Tests\/Payments\/PayconiqTest.php":"7fe90286f337d89d5957645e4c9cdc78","src\/Tests\/Payments\/PaypalTest.php":"cad91a5da101aa184aa553e218269c12","src\/Tests\/Payments\/PosTest.php":"e62ed85f8f5d4bfc656af138e5929ffc","src\/Tests\/Payments\/Przelewy24Test.php":"8a97e176c3647bc0987fbe45d2ef954c","src\/Tests\/Payments\/PushTest.php":"f5ba3c83801cafa0dc87d8627b9908cc","src\/Tests\/Payments\/RequestToPayTest.php":"cfe293133184adcfeda67bdea48e1d5a","src\/Tests\/Payments\/SepaTest.php":"dfb262ed8dfd9a7015d34ac7946f84f5","src\/Tests\/Payments\/SofortTest.php":"8286e4a926c887f550d4a876de6d192a","src\/Tests\/Payments\/SubscriptionsTest.php":"ea6b39b1218bc5691c554c8ebf0e1501","src\/Tests\/Payments\/SurepayTest.php":"22cd38b25e69cad31722e3ece6469976","src\/Tests\/Payments\/TinkaTest.php":"b07f3ffc272c4a14c393d232c2c33922","src\/Tests\/Payments\/TransferTest.php":"282bbf6c8069947eab3d26295e375c98","src\/Tests\/Payments\/TrustlyTest.php":"d182a0b78d88ae9eab551c751d4292b0","src\/Tests\/Payments\/WeChatPayTest.php":"8914f8ad3347995891c3993da76662cc","src\/Tests\/Payments\/iDinTest.php":"08f737792c22a2730c97edcce3976f88","src\/Transaction\/Client.php":"03b658c31b936d5925a53da3754f3917","src\/Transaction\/Request\/HttpClient\/HttpClientAbstract.php":"fca81cd7e91893e62dc1e20e5550c4c6","src\/Transaction\/Request\/HttpClient\/HttpClientGuzzle.php":"028365cd09b32f68f3c72912c0406a71","src\/Transaction\/Request\/HttpClient\/HttpClientInterface.php":"848ed947a3d1fa37d02cd99052c278bc","src\/Transaction\/Request\/Request.php":"702c743d61aa070aa8c8407b70421a1d","src\/Transaction\/Request\/TransactionRequest.php":"5f53d3e7cd9db218ad1727721519496e","src\/Transaction\/Response\/Response.php":"07b5db6302a16ee85c1689b7e32a1392","src\/Transaction\/Response\/TransactionResponse.php":"af0fe1f4f94d166bee59387adee881f8","example\/additional_services\/credit_management.php":"32ebd2c0cd3cd10b074c35edd114e674","example\/additional_services\/idin.php":"7dd17bb4d43dd2ae991ebe4686a7c6d2","example\/additional_services\/marketplaces.php":"307e99ab0f2342eeb80c756b4d2e81ed","example\/additional_services\/pay_per_email.php":"d3e2fc698cd56d5c1379f29c587da5df","example\/additional_services\/subscriptions.php":"ae86639ebd10a3aa26d1f3c516d4bdb2","example\/additional_services\/surepay.php":"cf0dd7b1f1aa99c94a5bb68bfccc5445","example\/additional_services\/voucher.php":"bdb49b1d45e44bf5fdd705032e9f4d57","example\/additional_services\/wallets.php":"962b46e5e78ca375562dd7f864550e83","example\/bootstrap.php":"2db7c0b07d6e3a932bc988e1131a6665","example\/responses\/push.php":"f87925d03c57e376f6ad85d8fb12fab0","example\/responses\/return.php":"88d46cf36ec3550a3c0daca8aad94849","example\/transactions\/afterpay.php":"f8dc471f412bb3fefbf6c5a5f50c55aa","example\/transactions\/afterpaydigiaccept.php":"81b4d5de6624b4dc52dd37d6eb44fed8","example\/transactions\/alipay.php":"3b87fc27ec2ac13b13553454ae632fcd","example\/transactions\/applepay.php":"0d507f91f2224307c33fe85c52f8e732","example\/transactions\/applepay_redirect.php":"00ba0cabc3a7bb547f8821fadf94c74b","example\/transactions\/bancontact.php":"d1ee54f16d05c1a9126cbf228951d44f","example\/transactions\/belfius.php":"16a0efb01febb9cbcd70f7badcf5c64d","example\/transactions\/billink.php":"9305b0ee2b569d5ea1b5ac3f702bfc4e","example\/transactions\/credit_click.php":"27463cb1ab953baa0b7a82d32b500996","example\/transactions\/creditcard.php":"98a19b4d843617f53bd93f447fe3df0a","example\/transactions\/eps.php":"46fa813019489d29dd68e02b9bfa2a92","example\/transactions\/giftcards.php":"89a4fd8eb260009808402066944f7b95","example\/transactions\/giftcards_redirect.php":"1e7c17cd1c83a39e4b230758fdc77e0c","example\/transactions\/giropay.php":"2c82c4a5aa0fee3dc8c0ad40d3c5d791","example\/transactions\/ideal.php":"b346b5816272e6b626850efffb1d5f28","example\/transactions\/ideal_qr.php":"9bea404b446fb5ef442f09af33401b57","example\/transactions\/in3.php":"f078817d49c83c22232bc615fc721521","example\/transactions\/kbc.php":"5c55f714be73d80e632912f3acb56def","example\/transactions\/klarna.php":"6e8d1b91bdc5992e5e514d3e652d25c9","example\/transactions\/klarnakp.php":"716cfcbdbb24e47f772330a85c4f69c4","example\/transactions\/payconiq.php":"cd952b2d7a6ce6df0e25f6c5f03230e1","example\/transactions\/paypal.php":"d819893fca49ff7ccbf140133d2ea7ac","example\/transactions\/pos.php":"cd2118e471e77210a4b687a98d067989","example\/transactions\/przelewy24.php":"d92bb6501d79d637ca91b811bb6e82e7","example\/transactions\/requesttopay.php":"d9bee74990c3f208ab3e8d4b459d497e","example\/transactions\/sepa.php":"10268e103cd7c7df9dd4b66988bcda82","example\/transactions\/sofort.php":"a8552ca60ec035fc0d03eafdbecfcca7","example\/transactions\/tinka.php":"1e10d360bf3987b4bf2dd07446ad610d","example\/transactions\/transfer.php":"53a25922b9707797df8d6d9623dc6565","example\/transactions\/trustly.php":"98c0c06cf6b3b6cad2ce5894dad8bb9b","example\/transactions\/wechat.php":"5c4f687f253b3b1c557feedcd45ad05b"}} \ No newline at end of file +{"php":"8.2.4","version":"3.15.1:v3.15.1#d48755372a113bddb99f749e34805d83f3acfe04","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":{"allow_single_line_closure":false,"position_after_functions_and_oop_constructs":"next","position_after_anonymous_constructs":"next","position_after_control_structures":"next"},"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_trait_insert_per_statement":true},"hashes":{"src\/BuckarooClient.php":"a04feed78f40b502363053f348a95d42","src\/Config\/Config.php":"3049e56bf3e3a3f2b947f4a18cded93a","src\/Config\/DefaultConfig.php":"ff088b4e5124f40155cc198401134378","src\/Exceptions\/BuckarooException.php":"d2544fdaa34bf1de4d51630f8d9cc5a9","src\/Exceptions\/TransferException.php":"d6d7bc200cb3e9697368e423c2dfacd5","src\/Handlers\/Credentials.php":"72547a0871ef078f61217d9c387e8bf6","src\/Handlers\/HMAC\/Generator.php":"285cbc96e2eb0a709b1d541602257cae","src\/Handlers\/HMAC\/Hmac.php":"18f9016e7c5aea3a0b692d20723940a7","src\/Handlers\/HMAC\/Validator.php":"75a5227ff35b94611b9799121e026abc","src\/Handlers\/Logging\/DefaultLogger.php":"91e9a8fa50a5770f092be6a546f4f179","src\/Handlers\/Logging\/Loggable.php":"f4b7e8704cbbe37d9c354801bebbfc59","src\/Handlers\/Logging\/Observer.php":"060d6e5806f7d7e16004d03cab986d37","src\/Handlers\/Logging\/Observers\/ErrorReporter.php":"7ec7da9e92f3b23b4c5d4efce8d86bd9","src\/Handlers\/Logging\/Observers\/Monolog.php":"e7d485dc3bc8bb26769249749e590f27","src\/Handlers\/Logging\/Subject.php":"3d67799142a50aab2eef4e24219cb74e","src\/Handlers\/Reply\/HttpPost.php":"4e0f9906ba5d6cdd307ebfadee255542","src\/Handlers\/Reply\/Json.php":"c9843468bfb3433c27fcd733d659e28a","src\/Handlers\/Reply\/ReplyHandler.php":"845bd35eb1b47207345d1407b83e1266","src\/Handlers\/Reply\/ReplyStrategy.php":"5bab082004f01d9950a9bc1ff468cd69","src\/Models\/Adapters\/ServiceParametersKeysAdapter.php":"b9ba2ebeed2dcfc47dac37dca6f3546c","src\/Models\/AdditionalParameters.php":"4971bbecdfda4aafd081ff5dbc1e3dd0","src\/Models\/Address.php":"ceeab777c91d46aeae2d4e7ab5d7df99","src\/Models\/Article.php":"aa20190c5a3dd2ff6ae169268a2d34e0","src\/Models\/BankAccount.php":"e82a08360df8697c9e059178a7c8fbd8","src\/Models\/ClientIP.php":"e19df1c3fe6357c96c26e2f8ff1e5e29","src\/Models\/Company.php":"d47ad3497173c8fc6fb6fc3daa73aec9","src\/Models\/Debtor.php":"3e6ab2b25de1e477d44bfb1165913366","src\/Models\/Email.php":"982763a72eb2935b8a9b3e9982ed72ca","src\/Models\/Interfaces\/Recipient.php":"85589ae85ccc2fdeecc18b3b2a0fdcbb","src\/Models\/Model.php":"2c7d00151866c93051e081a74097bd88","src\/Models\/Payload\/PayPayload.php":"cca5ff8b604ae2aa749b6b3dfabbaf82","src\/Models\/Payload\/Payload.php":"cf211d0785d48099c6daf8e78813029b","src\/Models\/Payload\/RefundPayload.php":"50ca2b6fadd6d1dfc1af85e4e475a551","src\/Models\/Person.php":"da9fce2330f7dbe81553cdf6a6ff5474","src\/Models\/Phone.php":"1a9f7c4872419d316fdebb2703f658a8","src\/Models\/ServiceList.php":"e51064ef8722035a1af8577f1cdb29dc","src\/Models\/ServiceParameter.php":"dafc671a780a47388f2cf6067b9c08ce","src\/Models\/Services.php":"953ba8de24fdf96f25f87a19439528d4","src\/PaymentMethods\/Afterpay\/Afterpay.php":"5220a26153046c35a71c5f9544a8c07c","src\/PaymentMethods\/Afterpay\/Models\/Article.php":"1101df36002c534b8194c8f38b5f359c","src\/PaymentMethods\/Afterpay\/Models\/Pay.php":"e8d7f0818eb7078a61ca31056c8c1394","src\/PaymentMethods\/Afterpay\/Models\/Person.php":"400ed6119966980ff0c48ca7e75702c6","src\/PaymentMethods\/Afterpay\/Models\/Recipient.php":"1da6ea525690661c2237ab21382ed19e","src\/PaymentMethods\/Afterpay\/Models\/Refund.php":"bc0c928de027bd2c3eca4ad997d2ed10","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/AddressAdapter.php":"692191fd233a1ea93b3dea94a8b4a9d1","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/ArticleAdapter.php":"c9cf7fac3e8bd7554fb773180301ddfe","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/PhoneAdapter.php":"5a13e983066abe460ae4831cabe1c428","src\/PaymentMethods\/Afterpay\/Service\/ParameterKeys\/RecipientAdapter.php":"9ce22d14bc2d17220e3f5765720f713a","src\/PaymentMethods\/AfterpayDigiAccept\/AfterpayDigiAccept.php":"a17f362fc17716edaf11c5e6c2f1dc8f","src\/PaymentMethods\/AfterpayDigiAccept\/Models\/Pay.php":"59cb734c920506b03f62bd89b9590554","src\/PaymentMethods\/AfterpayDigiAccept\/Models\/Recipient.php":"049301de1c6a4ca82cba08830ff04eb0","src\/PaymentMethods\/AfterpayDigiAccept\/Models\/Refund.php":"0453cf9fdd07cd1ff5cb68feac2cc2c1","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/AddressAdapter.php":"81ac818062aaf5e4aca0deaef2d0f17c","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/ArticleAdapter.php":"54cb4aa29bbfa9d13250d7c90069eab0","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/EmailAdapter.php":"607a333d0355446d5b2bb5d78d2648af","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/PhoneAdapter.php":"e025168a23f2bc4033e4f08669604ee7","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/RecipientAdapter.php":"9f932e8753a8dd4bb8e2a4c5a5b4be9b","src\/PaymentMethods\/AfterpayDigiAccept\/Service\/ParameterKeys\/ServiceAdapter.php":"bc34e01a54c01929cda40c8bac36de03","src\/PaymentMethods\/Alipay\/Alipay.php":"dd908e596902c85130e0e4920da04272","src\/PaymentMethods\/Alipay\/Models\/Pay.php":"fb9572ebd5464e8a006c0681a452e951","src\/PaymentMethods\/ApplePay\/ApplePay.php":"877e953b5326ffa57f75dbe34496c185","src\/PaymentMethods\/ApplePay\/Models\/Pay.php":"3b614359549f91062e646ab56f436490","src\/PaymentMethods\/ApplePay\/Models\/PayPayload.php":"c676ee7ee1bcc1907a04a27f9e2ac160","src\/PaymentMethods\/Bancontact\/Bancontact.php":"bc5b720c1f4304c1319f48a757c6688f","src\/PaymentMethods\/Bancontact\/Models\/Authenticate.php":"62906afe0a165a35651eb394b951193d","src\/PaymentMethods\/Bancontact\/Models\/Pay.php":"8fc9760c4052b60eb79d5ffa3b0ae69b","src\/PaymentMethods\/Bancontact\/Models\/PayEncrypted.php":"f0f4283c57c8ab2bb06e5f5950f8e643","src\/PaymentMethods\/BankTransfer\/BankTransfer.php":"15b6812b9c8cc34f2d81aaa685c99f5d","src\/PaymentMethods\/BankTransfer\/Models\/Pay.php":"991cff07b81d31ad98343c9ccf674510","src\/PaymentMethods\/BankTransfer\/Service\/ParameterKeys\/CustomerAdapter.php":"6c859ee4db8fc7fa505e5e7987da5977","src\/PaymentMethods\/BankTransfer\/Service\/ParameterKeys\/EmailAdapter.php":"cdbdc24a8503270b046be3553bfe4583","src\/PaymentMethods\/BankTransfer\/Service\/ParameterKeys\/PayAdapter.php":"ae9149be34d4d0912b490722b6756e86","src\/PaymentMethods\/Belfius\/Belfius.php":"6d0514225d9c9f5281900d7bc53e704c","src\/PaymentMethods\/Billink\/Billink.php":"adb3e9af9aea69f6ed8c2d0f8ecc280b","src\/PaymentMethods\/Billink\/Models\/Article.php":"ed916bb29315a44950f44604b5a6b399","src\/PaymentMethods\/Billink\/Models\/Capture.php":"d78606a9918a5925ed15a11cc29df1f6","src\/PaymentMethods\/Billink\/Models\/Pay.php":"74e1561269fdf63a24a696cb0de0c5fb","src\/PaymentMethods\/Billink\/Models\/Recipient.php":"39b57b32e18e6069844aad09f92b0f43","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/AddressAdapter.php":"8de6d09943d0621affdda7e724708274","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/ArticleAdapter.php":"4f5d6145f7becd1ed27ca33f22077397","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/PhoneAdapter.php":"0edca59d6e4c151f1c85fe465c6ef3bd","src\/PaymentMethods\/Billink\/Service\/ParameterKeys\/RecipientAdapter.php":"105fa7a29317a0b80f1a8b9b119c5fc1","src\/PaymentMethods\/BuckarooVoucher\/BuckarooVoucher.php":"b181c9e03dd924b899cac175e8c15259","src\/PaymentMethods\/BuckarooVoucher\/Models\/Create.php":"255d4fa0461244cad9aa4435ccb7e43c","src\/PaymentMethods\/BuckarooVoucher\/Models\/CreatePayload.php":"42913f90c793c2ed1b27fc855fae68c8","src\/PaymentMethods\/BuckarooVoucher\/Models\/Deactivate.php":"96bed609390d0ecb3dd8a94dd9ba240b","src\/PaymentMethods\/BuckarooVoucher\/Models\/GetBalance.php":"65b690ff91464e3898d3d960467c6690","src\/PaymentMethods\/BuckarooVoucher\/Models\/Pay.php":"e39a2921209a5c4ec9f5649dd3c4ac50","src\/PaymentMethods\/BuckarooWallet\/BuckarooWallet.php":"ef5b362c63a5fde93fa3281690c79c41","src\/PaymentMethods\/BuckarooWallet\/Models\/DepositReservePayload.php":"c57b8f8352bc2b4eac33fa49d8416958","src\/PaymentMethods\/BuckarooWallet\/Models\/ReleasePayload.php":"e31a198d3046222442855a7ec111d9ef","src\/PaymentMethods\/BuckarooWallet\/Models\/Wallet.php":"fd1d7d36ea9c27bc6da65aadb2d48a38","src\/PaymentMethods\/BuckarooWallet\/Service\/ParameterKeys\/BankAccountAdapter.php":"3a433e884d2b0d755f469a20861a6430","src\/PaymentMethods\/BuckarooWallet\/Service\/ParameterKeys\/CustomerAdapter.php":"303e6c1671897d735dd113cc4166af1d","src\/PaymentMethods\/BuckarooWallet\/Service\/ParameterKeys\/EmailAdapter.php":"703b17e3e3fcb9175aab78ce7d317ef7","src\/PaymentMethods\/CreditCard\/CreditCard.php":"8430cd30423a606b9a9b8b5f9663762b","src\/PaymentMethods\/CreditCard\/Models\/CardData.php":"df7536390b7b2b7a63903a0ff3d24069","src\/PaymentMethods\/CreditCard\/Models\/SecurityCode.php":"d9a6a20c5ca807629e3b4a1877446132","src\/PaymentMethods\/CreditClick\/CreditClick.php":"9e5484352aa2b73cbf5ece5e238d826f","src\/PaymentMethods\/CreditClick\/Models\/Pay.php":"8e8763e5fdf905c1c58e689fc96a77d0","src\/PaymentMethods\/CreditClick\/Models\/Refund.php":"82ec73b5892602d35c0321150ec499b7","src\/PaymentMethods\/CreditClick\/Service\/ParameterKeys\/CustomerAdapter.php":"7f94f0737428a95fde806eec14d2be5d","src\/PaymentMethods\/CreditManagement\/CreditManagement.php":"2bb0a0507d143bc8d42ea4c6cb523f92","src\/PaymentMethods\/CreditManagement\/Models\/AddOrUpdateProductLines.php":"5275167ba0256eb6e0aeffe0f6ade3a5","src\/PaymentMethods\/CreditManagement\/Models\/Article.php":"61b8495754e71a08c69f4aa5267c5e0b","src\/PaymentMethods\/CreditManagement\/Models\/CreditNote.php":"386def7c4e3295db852923423ac99b9b","src\/PaymentMethods\/CreditManagement\/Models\/Debtor.php":"611fdd1a517f779701709420e7b0866e","src\/PaymentMethods\/CreditManagement\/Models\/DebtorFile.php":"59f4fe33c0156a68fb9153b492a3c824","src\/PaymentMethods\/CreditManagement\/Models\/DebtorInfo.php":"f78fdb63e146972a09975a234b7e1d44","src\/PaymentMethods\/CreditManagement\/Models\/Invoice.php":"6a0c3c9d3f6149bcdd5b7f5cd20f6170","src\/PaymentMethods\/CreditManagement\/Models\/MultipleInvoiceInfo.php":"e8b87aa2fcbd7357f0cea6ef05f4f0f0","src\/PaymentMethods\/CreditManagement\/Models\/PaymentPlan.php":"1e1c12e66f2091ba9a65090364ad62dd","src\/PaymentMethods\/CreditManagement\/Service\/ParameterKeys\/ArticleAdapter.php":"d644cfeb053b9ed4c585badae22c39cd","src\/PaymentMethods\/CreditManagement\/Service\/ParameterKeys\/DebtorInfoAdapter.php":"111483943c0c031041d2cf9c5bdd6896","src\/PaymentMethods\/EPS\/EPS.php":"4a19a3827ec83faed3a7abae33fb60c2","src\/PaymentMethods\/Emandates\/Emandates.php":"e1f0adf6f026b2004ca4db417295a483","src\/PaymentMethods\/Emandates\/Models\/Mandate.php":"825f7606cdce24b7cd87c85c56ef51be","src\/PaymentMethods\/GiftCard\/GiftCard.php":"605c12b4ba7a57b69538a94bcfd1bc48","src\/PaymentMethods\/GiftCard\/Models\/Pay.php":"5672b5bb84a6ec7989fb82b3c70f566f","src\/PaymentMethods\/GiftCard\/Models\/PayPayload.php":"6beb12d039bb1a75e9545860c3cbf9bc","src\/PaymentMethods\/Giropay\/Giropay.php":"afe9d431a68e56af845b5945c6ee6d72","src\/PaymentMethods\/Giropay\/Models\/Pay.php":"bd0fb92797290265baafbef8c143d77b","src\/PaymentMethods\/In3\/In3.php":"2ce32872023af75f0a60be62474f46a9","src\/PaymentMethods\/In3\/Models\/Pay.php":"bc41a5976dc954f06bab49e3451b4931","src\/PaymentMethods\/In3\/Models\/PayPayload.php":"5e1559127bd6bcc39af9cba5016f71fe","src\/PaymentMethods\/In3\/Models\/Subtotal.php":"1a9ac4476a45521af82482e1be6ba854","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/AddressAdapter.php":"53b92ce98c02ae7d93e6b14227563b47","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/ArticleAdapter.php":"58b9d16f6ea930ac4efc763a326e28ca","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/CompanyAdapter.php":"f5ea7377501c6af673f61849e5566f58","src\/PaymentMethods\/In3\/Service\/ParameterKeys\/PhoneAdapter.php":"2d6f0fa594ab03430d55ec26dcd8ba39","src\/PaymentMethods\/Interfaces\/Combinable.php":"b3a8a715e15d40f1fec8e8aa69e23db4","src\/PaymentMethods\/KBC\/KBC.php":"1dd2a8585a64b8078339a1172f09bf10","src\/PaymentMethods\/KlarnaKP\/KlarnaKP.php":"2c5696440cc568dc337c0d7cb4ebfc48","src\/PaymentMethods\/KlarnaKP\/Models\/Payload.php":"b33d782fc49f5ec4e61aa240da52d2de","src\/PaymentMethods\/KlarnaKP\/Models\/Recipient.php":"1ea7c1ca72ea5b10c109db5752ed158f","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/AddressAdapter.php":"b683bbacf1c10c1e7b0dc3625b83730a","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/ArticleAdapter.php":"7d987920678ff84247fa9941d2a219d0","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/EmailAdapter.php":"6c7a63c151b2d52475ba843259e369da","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/PhoneAdapter.php":"3f18c0a203e29cdb2c7fbed3e5e78e71","src\/PaymentMethods\/KlarnaKP\/Service\/ParameterKeys\/RecipientAdapter.php":"a79df1fdeb4bcc7f4147218891a266df","src\/PaymentMethods\/KlarnaPay\/KlarnaPay.php":"74ffbf3cc7239a4dbb3ab30698e19792","src\/PaymentMethods\/KlarnaPay\/Models\/Pay.php":"158f36bcb659ea6d2fe6226c7dd6900c","src\/PaymentMethods\/KlarnaPay\/Models\/PayPayload.php":"74f8711b521078bc34dfb2abeef6bcb6","src\/PaymentMethods\/KlarnaPay\/Models\/Recipient.php":"d5cf4d926b5d08c514150fc4e98f6343","src\/PaymentMethods\/KlarnaPay\/Service\/ParameterKeys\/AddressAdapter.php":"ae4d5a23dc640095d90cbb919ecdeab2","src\/PaymentMethods\/KlarnaPay\/Service\/ParameterKeys\/ArticleAdapter.php":"99629484c73633b2fcef73e74a2016ca","src\/PaymentMethods\/KlarnaPay\/Service\/ParameterKeys\/PhoneAdapter.php":"dbede561858850c098431e29785363a4","src\/PaymentMethods\/Marketplaces\/Marketplaces.php":"a58ad6edd52a8da52e37c55f88bf6a42","src\/PaymentMethods\/Marketplaces\/Models\/Marketplace.php":"c56e09f922cdc3c84912ba11414f37cc","src\/PaymentMethods\/Marketplaces\/Models\/Seller.php":"36a79655bb1190ecb8781b3b7fcd7ddf","src\/PaymentMethods\/Marketplaces\/Models\/ServiceList.php":"a25677f4cb9f55a72f90c78d9e05fad9","src\/PaymentMethods\/PayPerEmail\/Models\/Attachment.php":"ccff70fe9482b7ac0c4ee99c0f1e3923","src\/PaymentMethods\/PayPerEmail\/Models\/PaymentInvitation.php":"db244fffd49b47138ad8d32d14af187d","src\/PaymentMethods\/PayPerEmail\/PayPerEmail.php":"c07cb576cd8f37362b11dac19a7898e6","src\/PaymentMethods\/PayPerEmail\/Service\/ParameterKeys\/AttachmentAdapter.php":"cc857add67db197985a4879125190f84","src\/PaymentMethods\/PayPerEmail\/Service\/ParameterKeys\/CustomerAdapter.php":"cff29d3c99971efd11d19fc7392d23e2","src\/PaymentMethods\/PayPerEmail\/Service\/ParameterKeys\/EmailAdapter.php":"b16e545c775b75e3ed3747ef2151154b","src\/PaymentMethods\/PayablePaymentMethod.php":"eeb8a8a289ad40f6c7bffea0efe56311","src\/PaymentMethods\/Payconiq\/Payconiq.php":"057415ee3ede1bbbc1d9cb67a5e51bc2","src\/PaymentMethods\/PaymentFacade.php":"d241ed41b8f0c5a8f1c6543385185baa","src\/PaymentMethods\/PaymentInterface.php":"accc043249c9d1184d4fb100f14fb303","src\/PaymentMethods\/PaymentMethod.php":"39c673e7942aeb2f4b702dd53a6b086c","src\/PaymentMethods\/PaymentMethodFactory.php":"38c7d8bb6deba14b026ddc4b01ce7c37","src\/PaymentMethods\/Paypal\/Models\/Address.php":"74d8d0bc2ac7235e4a1a657cc70827c9","src\/PaymentMethods\/Paypal\/Models\/ExtraInfo.php":"b1e13c02b0c39531358693233b028bf7","src\/PaymentMethods\/Paypal\/Models\/Pay.php":"67225ec2037509db760c99ad4038d459","src\/PaymentMethods\/Paypal\/Paypal.php":"ab57cc1612f2438ea246cd745bbd6b3c","src\/PaymentMethods\/Paypal\/Service\/ParameterKeys\/AddressAdapter.php":"d370a51df269afcfad9dc75e8e148dd4","src\/PaymentMethods\/Paypal\/Service\/ParameterKeys\/PhoneAdapter.php":"046f3a220b5602d42482a3a3ec389f9a","src\/PaymentMethods\/PointOfSale\/Models\/Pay.php":"e1842ac15bedd7a83aeaa296049252eb","src\/PaymentMethods\/PointOfSale\/PointOfSale.php":"25637901753d2c07d00ab6bf0beb381c","src\/PaymentMethods\/Przelewy24\/Models\/Pay.php":"814d22c0721a1c222f44dbd9a97383f7","src\/PaymentMethods\/Przelewy24\/Przelewy24.php":"1c983da62802be6050cfc74d8057f67f","src\/PaymentMethods\/Przelewy24\/Service\/ParameterKeys\/CustomerAdapter.php":"bc65a7576fe49c7c36d10f96f578fcc4","src\/PaymentMethods\/Przelewy24\/Service\/ParameterKeys\/EmailAdapter.php":"6af44a175667a1691e5161f8e7758d4e","src\/PaymentMethods\/SEPA\/Models\/ExtraInfo.php":"22e1282bfe0d8d4a619e2e3488781709","src\/PaymentMethods\/SEPA\/Models\/Pay.php":"830cef74f9747712da251f22dac45a8f","src\/PaymentMethods\/SEPA\/SEPA.php":"4b1ca116d0a6fdb1af60ce65d6d58ae5","src\/PaymentMethods\/SEPA\/Service\/ParameterKeys\/AddressAdapter.php":"889d7bf15ae56a1e915e8174c98a7bad","src\/PaymentMethods\/SEPA\/Service\/ParameterKeys\/CustomerAdapter.php":"2af215870b7bb4d3c8fcf7c2e2de2ade","src\/PaymentMethods\/SEPA\/Service\/ParameterKeys\/PayAdapter.php":"d3b6a8f9c8bd89562484aa0d4d2fae45","src\/PaymentMethods\/Sofort\/Sofort.php":"c9569a2fd82566d49e0ab32049e31790","src\/PaymentMethods\/Subscriptions\/Models\/CombinedPayload.php":"291879ac2ef3c2ffe1e8ea281e422be1","src\/PaymentMethods\/Subscriptions\/Models\/Configuration.php":"26db1893644139846d4c54eb0eb7a5fc","src\/PaymentMethods\/Subscriptions\/Models\/RatePlan.php":"b2aba50e5921250f589f90b2dded6e74","src\/PaymentMethods\/Subscriptions\/Models\/RatePlanCharge.php":"a3d5fe992c41ce30d489ca5c47a60e39","src\/PaymentMethods\/Subscriptions\/Models\/ResumeSubscription.php":"919bca409c01c1aa94eb40f831217207","src\/PaymentMethods\/Subscriptions\/Models\/Subscription.php":"7391d0702787f876e07de142b3dd636c","src\/PaymentMethods\/Subscriptions\/Service\/ParameterKeys\/CompanyAdapter.php":"6f4f7e91f77c9a2479a11ae7f33a5362","src\/PaymentMethods\/Subscriptions\/Subscriptions.php":"eb54f618f94dfacfc4c99af8c789e629","src\/PaymentMethods\/Surepay\/Models\/Verify.php":"027841518d304cdf248d8cf1939ee0c8","src\/PaymentMethods\/Surepay\/Service\/ParameterKeys\/BankAccountAdapter.php":"9c1fa1ab42ab667878db82e1d6fbf8e0","src\/PaymentMethods\/Surepay\/Surepay.php":"bf44ddde109ed1fc424b6c585ab9bc51","src\/PaymentMethods\/Tinka\/Models\/Article.php":"2e2b75383981bd6bbff67cfe7a4ad566","src\/PaymentMethods\/Tinka\/Models\/Pay.php":"049ead8ce258a9e0ac6db008285ee31b","src\/PaymentMethods\/Tinka\/Models\/Recipient.php":"a1eb20125c466d0b48028c6c4f00f46c","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/AddressAdapter.php":"82e58c240201ff1468b8b9be353f33e9","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/ArticleAdapter.php":"05c428e81a33f41916f688964eb906da","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/CustomerAdapter.php":"be0e6db5b2a617fc6bc9e22af096ff9a","src\/PaymentMethods\/Tinka\/Service\/ParameterKeys\/PhoneAdapter.php":"43c682cf85f9fbdeb64b9637df3a0240","src\/PaymentMethods\/Tinka\/Tinka.php":"90bf921d625064956a42dae45a155e1d","src\/PaymentMethods\/Traits\/CountableGroupKey.php":"bbaf4ac62c697e4ea8ecdc0ad979b08f","src\/PaymentMethods\/Trustly\/Models\/Pay.php":"4d7d1f5790586bb743c7205f34064b83","src\/PaymentMethods\/Trustly\/Service\/ParameterKeys\/CustomerAdapter.php":"e18c0a88bc3ba7f213623c11b2ddb78f","src\/PaymentMethods\/Trustly\/Service\/ParameterKeys\/PayAdapter.php":"ac193e9ad3cb7c91f33c93dba4876771","src\/PaymentMethods\/Trustly\/Trustly.php":"2e8290e1eaae8a1cd8e57b5e4f949f70","src\/PaymentMethods\/WeChatPay\/Models\/Pay.php":"b6752b57a0f3d33711c2d47ec6bcb4d8","src\/PaymentMethods\/WeChatPay\/WeChatPay.php":"7ff27945ea981100f38b22c0c529dfd7","src\/PaymentMethods\/iDeal\/Models\/Pay.php":"8953ccceaed38d93289ac3e4a0ed01b5","src\/PaymentMethods\/iDeal\/iDeal.php":"ca2c50211f06c227c318d85b59c130be","src\/PaymentMethods\/iDealQR\/Models\/Generate.php":"f62e5ea61ee49356adaecbee64b4614e","src\/PaymentMethods\/iDealQR\/iDealQR.php":"ae9ba3ead224c6442cf9db5d68db042f","src\/PaymentMethods\/iDin\/Models\/Issuer.php":"902e454bbfebb4bd52e6ef8b8ba98414","src\/PaymentMethods\/iDin\/Service\/ParameterKeys\/IssuerAdapter.php":"c94438083ea61affd5d9e93e408bb81e","src\/PaymentMethods\/iDin\/iDin.php":"90ce856c9fee3f40cb14d7c3a7af3ef5","src\/Resources\/Arrayable.php":"309daa9c8e87e451a36c15936d5096ea","src\/Resources\/Constants\/CreditManagementInstallmentInterval.php":"56be568c35303858ae97945530c21396","src\/Resources\/Constants\/Endpoints.php":"1ae5ae439f1e44add96c81154b667c00","src\/Resources\/Constants\/Gender.php":"97e49539071851397500521f9c89a12d","src\/Resources\/Constants\/IPProtocolVersion.php":"0db5ea9636219a2c7413db7123cf9bf6","src\/Resources\/Constants\/RecipientCategory.php":"5c1e88ed6130c05a6e70a7d63a93d35b","src\/Resources\/Constants\/ResponseStatus.php":"415427f1ee6d9d6f0ae0b493f35f7ced","src\/Services\/PayloadService.php":"b9389c2f502dba9d991deb80b0d35423","src\/Services\/ServiceListParameters\/DefaultParameters.php":"70310adb54e262d917a6f7cf56f33845","src\/Services\/ServiceListParameters\/ModelParameters.php":"95b6660ae0e9ea3b1c2a9b49c6464325","src\/Services\/ServiceListParameters\/ServiceListParameter.php":"6a3ee9bf76707933ca0e5f62b939b1ef","src\/Services\/TransactionHeaders\/CultureHeader.php":"a3c118a69ea9425294a401b4e535e366","src\/Services\/TransactionHeaders\/DefaultHeader.php":"49e846e47a97aec9e88e07876c91292b","src\/Services\/TransactionHeaders\/HmacHeader.php":"3dcf867cebc0e187c0f3689c274e93d9","src\/Services\/TransactionHeaders\/SoftwareHeader.php":"401661ee7e91717cc8e85dd287350697","src\/Services\/TransactionHeaders\/TransactionHeader.php":"3561b8da46cc8c2e30e388f4c14f43a2","src\/Services\/TransactionService.php":"92a316ca3f4c13ef79e80647b3eb667c","src\/Transaction\/Client.php":"03b658c31b936d5925a53da3754f3917","src\/Transaction\/Request\/HttpClient\/HttpClientAbstract.php":"fca81cd7e91893e62dc1e20e5550c4c6","src\/Transaction\/Request\/HttpClient\/HttpClientGuzzle.php":"8ce604417529a02cf77243adaee62ccd","src\/Transaction\/Request\/HttpClient\/HttpClientInterface.php":"848ed947a3d1fa37d02cd99052c278bc","src\/Transaction\/Request\/Request.php":"702c743d61aa070aa8c8407b70421a1d","src\/Transaction\/Request\/TransactionRequest.php":"5f53d3e7cd9db218ad1727721519496e","src\/Transaction\/Response\/Response.php":"7abe9d998466a8eb81fc26da385e80d8","src\/Transaction\/Response\/TransactionResponse.php":"49417487c7e4bb93c9c84b0eac0a9656","example\/additional_services\/credit_management.php":"32ebd2c0cd3cd10b074c35edd114e674","example\/additional_services\/idin.php":"7dd17bb4d43dd2ae991ebe4686a7c6d2","example\/additional_services\/marketplaces.php":"307e99ab0f2342eeb80c756b4d2e81ed","example\/additional_services\/pay_per_email.php":"d3e2fc698cd56d5c1379f29c587da5df","example\/additional_services\/subscriptions.php":"5f27b97869c216c34fa930c091521fa1","example\/additional_services\/surepay.php":"cf0dd7b1f1aa99c94a5bb68bfccc5445","example\/additional_services\/voucher.php":"bdb49b1d45e44bf5fdd705032e9f4d57","example\/additional_services\/wallets.php":"962b46e5e78ca375562dd7f864550e83","example\/bootstrap.php":"a3f3d709889533c8780df931a288e763","example\/responses\/push.php":"b01ea22e8d4bf8e41a62b66f83249694","example\/responses\/return.php":"88d46cf36ec3550a3c0daca8aad94849","example\/transactions\/afterpay.php":"f8dc471f412bb3fefbf6c5a5f50c55aa","example\/transactions\/afterpaydigiaccept.php":"81b4d5de6624b4dc52dd37d6eb44fed8","example\/transactions\/alipay.php":"3b87fc27ec2ac13b13553454ae632fcd","example\/transactions\/applepay.php":"0d507f91f2224307c33fe85c52f8e732","example\/transactions\/applepay_redirect.php":"00ba0cabc3a7bb547f8821fadf94c74b","example\/transactions\/bancontact.php":"d1ee54f16d05c1a9126cbf228951d44f","example\/transactions\/belfius.php":"16a0efb01febb9cbcd70f7badcf5c64d","example\/transactions\/billink.php":"9305b0ee2b569d5ea1b5ac3f702bfc4e","example\/transactions\/credit_click.php":"27463cb1ab953baa0b7a82d32b500996","example\/transactions\/creditcard.php":"98a19b4d843617f53bd93f447fe3df0a","example\/transactions\/eps.php":"46fa813019489d29dd68e02b9bfa2a92","example\/transactions\/giftcards.php":"89a4fd8eb260009808402066944f7b95","example\/transactions\/giftcards_redirect.php":"1e7c17cd1c83a39e4b230758fdc77e0c","example\/transactions\/giropay.php":"2c82c4a5aa0fee3dc8c0ad40d3c5d791","example\/transactions\/ideal.php":"b346b5816272e6b626850efffb1d5f28","example\/transactions\/ideal_qr.php":"65bf7d44865b1cbaa08c9d00967fc0b1","example\/transactions\/in3.php":"f078817d49c83c22232bc615fc721521","example\/transactions\/kbc.php":"5c55f714be73d80e632912f3acb56def","example\/transactions\/klarna.php":"6e8d1b91bdc5992e5e514d3e652d25c9","example\/transactions\/klarnakp.php":"716cfcbdbb24e47f772330a85c4f69c4","example\/transactions\/payconiq.php":"cd952b2d7a6ce6df0e25f6c5f03230e1","example\/transactions\/paypal.php":"d819893fca49ff7ccbf140133d2ea7ac","example\/transactions\/pos.php":"cd2118e471e77210a4b687a98d067989","example\/transactions\/przelewy24.php":"d92bb6501d79d637ca91b811bb6e82e7","example\/transactions\/sepa.php":"10268e103cd7c7df9dd4b66988bcda82","example\/transactions\/sofort.php":"a8552ca60ec035fc0d03eafdbecfcca7","example\/transactions\/tinka.php":"1e10d360bf3987b4bf2dd07446ad610d","example\/transactions\/transfer.php":"53a25922b9707797df8d6d9623dc6565","example\/transactions\/trustly.php":"98c0c06cf6b3b6cad2ce5894dad8bb9b","example\/transactions\/wechat.php":"5c4f687f253b3b1c557feedcd45ad05b"}} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 64ef01f2..af27f97d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file. ## [Released] +## [1.5.0] +- BP-2351 Bugfix in transaction response in sub status code +- Subscription example updated. +- Github action added for PSR12 and PHPlint validation. Contributed by @avido +- iDeal QR Test updated. +- BP-2404 PHP 8.2 support + ## [1.4.0] - Fixed an issue with getting issuers for iDEAL. Reported by @reflie-nxte - Add Bancontact alias and fixing typo in method name diff --git a/composer.json b/composer.json index c8f19306..546a07d5 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "buckaroo/sdk", "description": "Buckaroo payment SDK", "license": "MIT", - "version": "1.4.0", + "version": "1.5.0", "type": "library", "require": { "php": ">=7.4|^8.0", @@ -33,7 +33,7 @@ }, "autoload-dev": { "psr-4": { - "BuckarooTests\\": "Tests/" + "Tests\\": "tests/" } } } diff --git a/example/additional_services/subscriptions.php b/example/additional_services/subscriptions.php index 6539111e..d41677fe 100644 --- a/example/additional_services/subscriptions.php +++ b/example/additional_services/subscriptions.php @@ -9,28 +9,36 @@ //** START Create Duo Combined */ $subscriptions = $buckaroo->method('subscriptions')->manually()->createCombined([ + 'pushURL' => 'https://buckaroo.dev/push', 'includeTransaction' => false, 'transactionVatPercentage' => 5, - 'configurationCode' => 'xxxxx', + 'configurationCode' => 'gfyh9fe4', 'email' => 'test@buckaroo.nl', - 'rate_plans' => [ + 'ratePlans' => [ 'add' => [ - 'startDate' => date('Y-m-d'), - 'ratePlanCode' => 'xxxxxx', + 'startDate' => '2033-01-01', + 'ratePlanCode' => '9863hdcj', ], ], 'phone' => [ 'mobile' => '0612345678', ], 'debtor' => [ - 'code' => 'xxxxxx', + 'code' => 'johnsmith4', ], - 'person' => [ - 'firstName' => 'John', - 'lastName' => 'Do', - 'gender' => Gender::FEMALE, +// 'person' => [ +// 'firstName' => 'John', +// 'lastName' => 'Do', +// 'gender' => Gender::FEMALE, +// 'culture' => 'nl-NL', +// 'birthDate' => '1990-01-01' +// ], + 'company' => [ 'culture' => 'nl-NL', - 'birthDate' => date('Y-m-d'), + 'companyName' => 'My Company Coporation', + 'vatApplicable' => true, + 'vatNumber' => 'NL140619562B01', + 'chamberOfCommerce' => '20091741', ], 'address' => [ 'street' => 'Hoofdstraat', @@ -50,28 +58,36 @@ //** START Create Triple Combined */ $subscriptions = $buckaroo->method('subscriptions')->manually()->createCombined([ + 'pushURL' => 'https://buckaroo.dev/push', 'includeTransaction' => false, 'transactionVatPercentage' => 5, - 'configurationCode' => 'xxxxx', + 'configurationCode' => 'gfyh9fe4', 'email' => 'test@buckaroo.nl', - 'rate_plans' => [ + 'ratePlans' => [ 'add' => [ - 'startDate' => date('Y-m-d'), - 'ratePlanCode' => 'xxxxxx', + 'startDate' => '2033-01-01', + 'ratePlanCode' => '9863hdcj', ], ], 'phone' => [ 'mobile' => '0612345678', ], 'debtor' => [ - 'code' => 'xxxxxx', + 'code' => 'johnsmith4', ], - 'person' => [ - 'firstName' => 'John', - 'lastName' => 'Do', - 'gender' => Gender::FEMALE, +// 'person' => [ +// 'firstName' => 'John', +// 'lastName' => 'Do', +// 'gender' => Gender::FEMALE, +// 'culture' => 'nl-NL', +// 'birthDate' => '1990-01-01' +// ], + 'company' => [ 'culture' => 'nl-NL', - 'birthDate' => date('Y-m-d'), + 'companyName' => 'My Company Coporation', + 'vatApplicable' => true, + 'vatNumber' => 'NL140619562B01', + 'chamberOfCommerce' => '20091741', ], 'address' => [ 'street' => 'Hoofdstraat', diff --git a/example/bootstrap.php b/example/bootstrap.php index b3bf3821..cb429d0c 100644 --- a/example/bootstrap.php +++ b/example/bootstrap.php @@ -4,5 +4,6 @@ require_once __DIR__ . "/../vendor/autoload.php"; +// Load env $dotenv = Dotenv::createImmutable(__DIR__ . "/../"); $dotenv->load(); diff --git a/example/responses/push.php b/example/responses/push.php index 84d9ec4b..05ec5e97 100644 --- a/example/responses/push.php +++ b/example/responses/push.php @@ -41,7 +41,7 @@ //START JSON PUSH $auth_header = 'IBjihN7Fhp:0YvyjYAzDQ28W+hQi80f2nhe0Z1QFJLbz7IH//6LsAU=:cad1832100784f57a6e6de835d9f3638:1658227572'; $post_data = '{"Transaction":{"Key":"5340604668D74435AA344E1428ED1292","Invoice":"62d68b6c8ab0c","ServiceCode":"ideal","Status":{"Code":{"Code":190,"Description":"Success"},"SubCode":{"Code":"S001","Description":"Transaction successfully processed"},"DateTime":"2022-07-19T12:46:12"},"IsTest":true,"Order":"ORDER_NO_62d68b6ca2df3","Currency":"EUR","AmountDebit":10.1,"TransactionType":"C021","Services":[{"Name":"ideal","Action":null,"Parameters":[{"Name":"consumerIssuer","Value":"ABN AMRO"},{"Name":"transactionId","Value":"0000000000000001"},{"Name":"consumerName","Value":"J. de Tèster"},{"Name":"consumerIBAN","Value":"NL44RABO0123456789"},{"Name":"consumerBIC","Value":"RABONL2U"}],"VersionAsProperty":2}],"CustomParameters":null,"AdditionalParameters":{"List":[{"Name":"initiated_by_magento","Value":"1"},{"Name":"service_action","Value":"something"}]},"MutationType":1,"RelatedTransactions":null,"IsCancelable":false,"IssuingCountry":null,"StartRecurrent":false,"Recurring":false,"CustomerName":"J. de Tèster","PayerHash":"2d26d34584a4eafeeaa97eed10cfdae22ae64cdce1649a80a55fafca8850e3e22cb32eb7c8fc95ef0c6f96669a21651d4734cc568816f9bd59c2092911e6c0da","PaymentKey":"AEC974D455FF4A4B9B4C21E437A04838","Description":null}}'; -$uri = 'https://buckaroo.nextto.dev/push'; +$uri = 'https://buckaroo.dev/push'; $reply_handler = new ReplyHandler($buckaroo->client()->config(), $post_data, $auth_header, $uri); $reply_handler->validate(); diff --git a/example/transactions/klarna.php b/example/transactions/klarna.php index ebe45505..5ea0e212 100644 --- a/example/transactions/klarna.php +++ b/example/transactions/klarna.php @@ -1,4 +1,5 @@ + + Buckaroo SDK coding standard. + + src + + + + + *.php + + + + src/PaymentMethods/iDeal/iDeal.php + src/PaymentMethods/iDealQR/iDealQR.php + + + src + + \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index 6d543322..b57d1976 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,7 +1,7 @@ - - src/Tests/ + + tests diff --git a/src/Config/Config.php b/src/Config/Config.php index 215333ac..93d89aed 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -194,8 +194,7 @@ private function filterNonUpdatableKeys($payload) { $filter = ['websiteKey', 'secretKey']; - return array_filter($payload, function ($k) use ($filter) - { + return array_filter($payload, function ($k) use ($filter) { return ! in_array($k, $filter); }, ARRAY_FILTER_USE_KEY); } diff --git a/src/Handlers/Credentials.php b/src/Handlers/Credentials.php index b835ade9..5b7f8377 100644 --- a/src/Handlers/Credentials.php +++ b/src/Handlers/Credentials.php @@ -58,12 +58,9 @@ public function confirm(): bool $request = new TransactionRequest; - try - { + try { $response = $this->client->specification($request, 'ideal', 2); - } - catch (BuckarooException $e) - { + } catch (BuckarooException $e) { return false; } diff --git a/src/Handlers/Logging/DefaultLogger.php b/src/Handlers/Logging/DefaultLogger.php index 0cccc30c..70650d7f 100644 --- a/src/Handlers/Logging/DefaultLogger.php +++ b/src/Handlers/Logging/DefaultLogger.php @@ -75,8 +75,7 @@ public function attach($observer) */ public function detach(Observer $observer) { - $this->observers = array_filter($this->observers, function ($value) use ($observer) - { + $this->observers = array_filter($this->observers, function ($value) use ($observer) { return get_class($value) != get_class($observer); }); diff --git a/src/Handlers/Logging/Observers/Monolog.php b/src/Handlers/Logging/Observers/Monolog.php index e1cfbb4e..f331a518 100644 --- a/src/Handlers/Logging/Observers/Monolog.php +++ b/src/Handlers/Logging/Observers/Monolog.php @@ -5,9 +5,12 @@ use Buckaroo\Handlers\Logging\Observer; use Monolog\Handler\StreamHandler; use Monolog\Logger; +use Psr\Log\LoggerInterface; class Monolog implements Observer { + protected LoggerInterface $log; + public function __construct() { $this->log = new Logger('Buckaroo log'); diff --git a/src/Handlers/Reply/HttpPost.php b/src/Handlers/Reply/HttpPost.php index 30a6f9ac..d86e411e 100644 --- a/src/Handlers/Reply/HttpPost.php +++ b/src/Handlers/Reply/HttpPost.php @@ -51,8 +51,7 @@ public function __construct(Config $config, array $data) public function validate(): bool { //Remove brq_signature from the equation - $data = array_filter($this->data, function ($key) - { + $data = array_filter($this->data, function ($key) { $acceptable_top_level = ['brq', 'add', 'cust', 'BRQ', 'ADD', 'CUST']; return ( @@ -61,8 +60,7 @@ public function validate(): bool }, ARRAY_FILTER_USE_KEY); //Combine the array keys with value - $data = array_map(function ($value, $key) - { + $data = array_map(function ($value, $key) { return $key . '=' . html_entity_decode($value); }, $data, array_keys($data)); diff --git a/src/Handlers/Reply/ReplyHandler.php b/src/Handlers/Reply/ReplyHandler.php index 4d4e556e..785c3c79 100644 --- a/src/Handlers/Reply/ReplyHandler.php +++ b/src/Handlers/Reply/ReplyHandler.php @@ -118,12 +118,12 @@ private function contains(string $needle, array $data, bool $strict = false): bo { foreach (array_keys($data) as $key) { - if($strict && $key == $needle) + if ($strict && $key == $needle) { return true; } - if(!$strict && str_contains($key, $needle)) + if (! $strict && str_contains($key, $needle)) { return true; } diff --git a/src/PaymentMethods/BuckarooVoucher/Models/Create.php b/src/PaymentMethods/BuckarooVoucher/Models/Create.php index e1d58e95..9bb8229d 100644 --- a/src/PaymentMethods/BuckarooVoucher/Models/Create.php +++ b/src/PaymentMethods/BuckarooVoucher/Models/Create.php @@ -24,6 +24,8 @@ class Create extends ServiceParameter { + protected string $groupReference; + protected string $usageType; protected string $validFrom; diff --git a/src/PaymentMethods/PaymentFacade.php b/src/PaymentMethods/PaymentFacade.php index d9647706..bd6480b5 100644 --- a/src/PaymentMethods/PaymentFacade.php +++ b/src/PaymentMethods/PaymentFacade.php @@ -99,6 +99,11 @@ class PaymentFacade */ private bool $isManually = false; + /** + * @var Client + */ + protected Client $client; + /** * @param Client $client * @param string $method diff --git a/src/PaymentMethods/PaymentMethod.php b/src/PaymentMethods/PaymentMethod.php index 50a3889d..e458aaae 100644 --- a/src/PaymentMethods/PaymentMethod.php +++ b/src/PaymentMethods/PaymentMethod.php @@ -28,6 +28,9 @@ use Buckaroo\Transaction\Response\TransactionResponse; use Psr\Log\LoggerInterface; +/** + * + */ abstract class PaymentMethod implements PaymentInterface { /** @@ -74,6 +77,11 @@ abstract class PaymentMethod implements PaymentInterface */ protected bool $isManually = false; + /** + * @var string|null + */ + protected ?string $serviceCode; + /** * @param Client $client * @param string|null $serviceCode @@ -185,8 +193,7 @@ public function combinePayment(Combinable $combinablePayment) { $this->combinablePayment = $combinablePayment; - $payload_data = array_filter($combinablePayment->request->data(), function ($key) - { + $payload_data = array_filter($combinablePayment->request->data(), function ($key) { return ! in_array($key, ['Services']); }, ARRAY_FILTER_USE_KEY); diff --git a/src/PaymentMethods/Subscriptions/Models/Configuration.php b/src/PaymentMethods/Subscriptions/Models/Configuration.php index c963dc31..4d9f2cc7 100644 --- a/src/PaymentMethods/Subscriptions/Models/Configuration.php +++ b/src/PaymentMethods/Subscriptions/Models/Configuration.php @@ -38,4 +38,4 @@ class Configuration extends ServiceParameter * @var bool */ protected bool $skipPayPerEmail; -} \ No newline at end of file +} diff --git a/src/PaymentMethods/Subscriptions/Models/RatePlanCharge.php b/src/PaymentMethods/Subscriptions/Models/RatePlanCharge.php index c2cf3e21..4303aeeb 100644 --- a/src/PaymentMethods/Subscriptions/Models/RatePlanCharge.php +++ b/src/PaymentMethods/Subscriptions/Models/RatePlanCharge.php @@ -74,4 +74,4 @@ class RatePlanCharge extends ServiceParameter * @var string */ protected string $ratePlanChargeType; -} \ No newline at end of file +} diff --git a/src/PaymentMethods/Subscriptions/Models/Subscription.php b/src/PaymentMethods/Subscriptions/Models/Subscription.php index a8e96e35..955b35be 100644 --- a/src/PaymentMethods/Subscriptions/Models/Subscription.php +++ b/src/PaymentMethods/Subscriptions/Models/Subscription.php @@ -164,7 +164,7 @@ class Subscription extends ServiceParameter 'groupType' => 'AddRatePlan', ], 'configuration' => [ - 'groupType' => 'AddConfiguration' + 'groupType' => 'AddConfiguration', ], 'updateRatePlan' => [ 'groupType' => 'UpdateRatePlan', diff --git a/src/PaymentMethods/iDeal/iDeal.php b/src/PaymentMethods/iDeal/iDeal.php index c9e74025..0365cd8f 100644 --- a/src/PaymentMethods/iDeal/iDeal.php +++ b/src/PaymentMethods/iDeal/iDeal.php @@ -65,12 +65,9 @@ public function issuers(): array { $request = new TransactionRequest; - try - { + try { $response = $this->client->specification($request, 'ideal', 2); - } - catch (BuckarooException $e) - { + } catch (BuckarooException $e) { return []; } diff --git a/src/Services/TransactionHeaders/CultureHeader.php b/src/Services/TransactionHeaders/CultureHeader.php index 2de3e2cd..b76ab65b 100644 --- a/src/Services/TransactionHeaders/CultureHeader.php +++ b/src/Services/TransactionHeaders/CultureHeader.php @@ -20,8 +20,15 @@ namespace Buckaroo\Services\TransactionHeaders; +/** + * + */ class CultureHeader extends TransactionHeader { + /** + * @var string|null + */ + protected ?string $locale; /** * @param TransactionHeader $transactionHeader * @param string|null $locale diff --git a/src/Services/TransactionHeaders/HmacHeader.php b/src/Services/TransactionHeaders/HmacHeader.php index c3ce71b2..59988c5e 100644 --- a/src/Services/TransactionHeaders/HmacHeader.php +++ b/src/Services/TransactionHeaders/HmacHeader.php @@ -29,6 +29,8 @@ class HmacHeader extends TransactionHeader { + protected Generator $hmacGenerator; + public function __construct( TransactionHeader $transactionHeader, Config $config, diff --git a/src/Transaction/Request/HttpClient/HttpClientGuzzle.php b/src/Transaction/Request/HttpClient/HttpClientGuzzle.php index b0b2a102..544cb425 100644 --- a/src/Transaction/Request/HttpClient/HttpClientGuzzle.php +++ b/src/Transaction/Request/HttpClient/HttpClientGuzzle.php @@ -25,6 +25,7 @@ use Buckaroo\Exceptions\TransferException; use Buckaroo\Handlers\Logging\Subject; use GuzzleHttp\Client; +use GuzzleHttp\ClientInterface; use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\Psr7\Request; use GuzzleHttp\RequestOptions; @@ -36,6 +37,8 @@ class HttpClientGuzzle extends HttpClientAbstract */ protected Subject $logger; + protected ClientInterface $httpClient; + /** * @param Subject $logger */ @@ -66,17 +69,14 @@ public function call(string $url, array $headers, string $method, string $data = $request = new Request($method, $url, $headers, $data); - try - { + try { $response = $this->httpClient->send($request, ['http_errors' => false]); $result = (string) $response->getBody(); $this->logger->info('RESPONSE HEADERS: ' . json_encode($response->getHeaders())); $this->logger->info('RESPONSE BODY: ' . $response->getBody()); - } - catch (GuzzleException $e) - { + } catch (GuzzleException $e) { throw new TransferException($this->logger, "Transfer failed", 0, $e); } diff --git a/src/Transaction/Request/Request.php b/src/Transaction/Request/Request.php index 4cfe62f7..1227e4dd 100644 --- a/src/Transaction/Request/Request.php +++ b/src/Transaction/Request/Request.php @@ -48,9 +48,7 @@ public function offsetSet($offset, $value): void if (is_null($offset)) { $this->data[] = $value; - } - else - { + } else { $this->data[$offset] = $value; } } @@ -97,9 +95,7 @@ public function __call($method, $args) if ($prefix === 'set') { return $this->offsetSet($param, $arg); - } - elseif ($prefix === 'get') - { + } elseif ($prefix === 'get') { return $this->offsetGet($param); } @@ -148,8 +144,7 @@ public function getHeader($name) */ public function getHeaders(): array { - return array_map(function ($value, $key) - { + return array_map(function ($value, $key) { return $key . ': ' . $value; }, $this->headers); } diff --git a/src/Transaction/Response/Response.php b/src/Transaction/Response/Response.php index c3400314..6646db74 100644 --- a/src/Transaction/Response/Response.php +++ b/src/Transaction/Response/Response.php @@ -33,6 +33,8 @@ class Response implements ArrayAccess, Arrayable */ protected $data = []; + protected $httpResponse; + /** * @param $data */ diff --git a/src/Transaction/Response/TransactionResponse.php b/src/Transaction/Response/TransactionResponse.php index 3935c7d8..e4e3085d 100644 --- a/src/Transaction/Response/TransactionResponse.php +++ b/src/Transaction/Response/TransactionResponse.php @@ -286,9 +286,9 @@ public function getStatusCode(): ?int } /** - * @return int|null + * @return string|null */ - public function getSubStatusCode(): ?int + public function getSubStatusCode(): ?string { if (! empty($this->data['Status']['SubCode']['Code'])) { diff --git a/src/Tests/BuckarooTestCase.php b/tests/Buckaroo/BuckarooTestCase.php similarity index 94% rename from src/Tests/BuckarooTestCase.php rename to tests/Buckaroo/BuckarooTestCase.php index bada7b58..5c97955e 100644 --- a/src/Tests/BuckarooTestCase.php +++ b/tests/Buckaroo/BuckarooTestCase.php @@ -18,7 +18,7 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests; +namespace Tests\Buckaroo; use Buckaroo\BuckarooClient; use Dotenv\Dotenv; @@ -26,6 +26,7 @@ class BuckarooTestCase extends TestCase { + protected BuckarooClient $buckaroo; public function __construct() { $dotenv = Dotenv::createImmutable(getcwd()); diff --git a/src/Tests/ConfirmingCredentialsTest.php b/tests/Buckaroo/ConfirmingCredentialsTest.php similarity index 97% rename from src/Tests/ConfirmingCredentialsTest.php rename to tests/Buckaroo/ConfirmingCredentialsTest.php index e774f77d..758d54c0 100644 --- a/src/Tests/ConfirmingCredentialsTest.php +++ b/tests/Buckaroo/ConfirmingCredentialsTest.php @@ -20,7 +20,7 @@ * */ -namespace Buckaroo\Tests; +namespace Tests\Buckaroo; class ConfirmingCredentialsTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/AfterpayDigiAcceptTest.php b/tests/Buckaroo/Payments/AfterpayDigiAcceptTest.php similarity index 98% rename from src/Tests/Payments/AfterpayDigiAcceptTest.php rename to tests/Buckaroo/Payments/AfterpayDigiAcceptTest.php index cb3fb2d5..22429966 100644 --- a/src/Tests/Payments/AfterpayDigiAcceptTest.php +++ b/tests/Buckaroo/Payments/AfterpayDigiAcceptTest.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; class AfterpayDigiAcceptTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/AfterpayTest.php b/tests/Buckaroo/Payments/AfterpayTest.php similarity index 98% rename from src/Tests/Payments/AfterpayTest.php rename to tests/Buckaroo/Payments/AfterpayTest.php index 8d64f07a..6ee4676c 100644 --- a/src/Tests/Payments/AfterpayTest.php +++ b/tests/Buckaroo/Payments/AfterpayTest.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\RecipientCategory; -use Buckaroo\Tests\BuckarooTestCase; class AfterpayTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/AlipayTest.php b/tests/Buckaroo/Payments/AlipayTest.php similarity index 95% rename from src/Tests/Payments/AlipayTest.php rename to tests/Buckaroo/Payments/AlipayTest.php index 47900794..5be4c432 100644 --- a/src/Tests/Payments/AlipayTest.php +++ b/tests/Buckaroo/Payments/AlipayTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class AlipayTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/ApplepayTest.php b/tests/Buckaroo/Payments/ApplepayTest.php similarity index 96% rename from src/Tests/Payments/ApplepayTest.php rename to tests/Buckaroo/Payments/ApplepayTest.php index 3cdb3134..0949a1f1 100644 --- a/src/Tests/Payments/ApplepayTest.php +++ b/tests/Buckaroo/Payments/ApplepayTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class ApplepayTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/BancontactTest.php b/tests/Buckaroo/Payments/BancontactTest.php similarity index 98% rename from src/Tests/Payments/BancontactTest.php rename to tests/Buckaroo/Payments/BancontactTest.php index 4fabc014..0ec74b7d 100644 --- a/src/Tests/Payments/BancontactTest.php +++ b/tests/Buckaroo/Payments/BancontactTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class BancontactTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/BelfiusTest.php b/tests/Buckaroo/Payments/BelfiusTest.php similarity index 95% rename from src/Tests/Payments/BelfiusTest.php rename to tests/Buckaroo/Payments/BelfiusTest.php index 9fe435a3..f98405fb 100644 --- a/src/Tests/Payments/BelfiusTest.php +++ b/tests/Buckaroo/Payments/BelfiusTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class BelfiusTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/BillinkTest.php b/tests/Buckaroo/Payments/BillinkTest.php similarity index 98% rename from src/Tests/Payments/BillinkTest.php rename to tests/Buckaroo/Payments/BillinkTest.php index 0a7910c1..34e9c128 100644 --- a/src/Tests/Payments/BillinkTest.php +++ b/tests/Buckaroo/Payments/BillinkTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class BillinkTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/BuckarooVoucherTest.php b/tests/Buckaroo/Payments/BuckarooVoucherTest.php similarity index 97% rename from src/Tests/Payments/BuckarooVoucherTest.php rename to tests/Buckaroo/Payments/BuckarooVoucherTest.php index bf2d06fd..4b103c96 100644 --- a/src/Tests/Payments/BuckarooVoucherTest.php +++ b/tests/Buckaroo/Payments/BuckarooVoucherTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class BuckarooVoucherTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/BuckarooWalletTest.php b/tests/Buckaroo/Payments/BuckarooWalletTest.php similarity index 98% rename from src/Tests/Payments/BuckarooWalletTest.php rename to tests/Buckaroo/Payments/BuckarooWalletTest.php index 18157b86..3da53e36 100644 --- a/src/Tests/Payments/BuckarooWalletTest.php +++ b/tests/Buckaroo/Payments/BuckarooWalletTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class BuckarooWalletTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/CreditClickTest.php b/tests/Buckaroo/Payments/CreditClickTest.php similarity index 95% rename from src/Tests/Payments/CreditClickTest.php rename to tests/Buckaroo/Payments/CreditClickTest.php index 0baa73cb..ab4db2d7 100644 --- a/src/Tests/Payments/CreditClickTest.php +++ b/tests/Buckaroo/Payments/CreditClickTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class CreditClickTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/CreditManagementTest.php b/tests/Buckaroo/Payments/CreditManagementTest.php similarity index 99% rename from src/Tests/Payments/CreditManagementTest.php rename to tests/Buckaroo/Payments/CreditManagementTest.php index b176bdc7..b9ee6915 100644 --- a/src/Tests/Payments/CreditManagementTest.php +++ b/tests/Buckaroo/Payments/CreditManagementTest.php @@ -18,11 +18,11 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\CreditManagementInstallmentInterval; use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; class CreditManagementTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/CreditcardTest.php b/tests/Buckaroo/Payments/CreditcardTest.php similarity index 98% rename from src/Tests/Payments/CreditcardTest.php rename to tests/Buckaroo/Payments/CreditcardTest.php index b3a55602..a877af45 100644 --- a/src/Tests/Payments/CreditcardTest.php +++ b/tests/Buckaroo/Payments/CreditcardTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class CreditcardTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/EPSTest.php b/tests/Buckaroo/Payments/EPSTest.php similarity index 95% rename from src/Tests/Payments/EPSTest.php rename to tests/Buckaroo/Payments/EPSTest.php index fa529f35..dfe5beda 100644 --- a/src/Tests/Payments/EPSTest.php +++ b/tests/Buckaroo/Payments/EPSTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class EPSTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/EmandatesTest.php b/tests/Buckaroo/Payments/EmandatesTest.php similarity index 97% rename from src/Tests/Payments/EmandatesTest.php rename to tests/Buckaroo/Payments/EmandatesTest.php index 5805d387..b966198c 100644 --- a/src/Tests/Payments/EmandatesTest.php +++ b/tests/Buckaroo/Payments/EmandatesTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class EmandatesTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/GiftcardsTest.php b/tests/Buckaroo/Payments/GiftcardsTest.php similarity index 97% rename from src/Tests/Payments/GiftcardsTest.php rename to tests/Buckaroo/Payments/GiftcardsTest.php index 7e5fdf96..647303cd 100644 --- a/src/Tests/Payments/GiftcardsTest.php +++ b/tests/Buckaroo/Payments/GiftcardsTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class GiftcardsTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/GiropayTest.php b/tests/Buckaroo/Payments/GiropayTest.php similarity index 95% rename from src/Tests/Payments/GiropayTest.php rename to tests/Buckaroo/Payments/GiropayTest.php index 61ca6a88..5650a1e8 100644 --- a/src/Tests/Payments/GiropayTest.php +++ b/tests/Buckaroo/Payments/GiropayTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class GiropayTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/IdealQRTest.php b/tests/Buckaroo/Payments/IdealQRTest.php similarity index 79% rename from src/Tests/Payments/IdealQRTest.php rename to tests/Buckaroo/Payments/IdealQRTest.php index 446ca6bd..8d2791cb 100644 --- a/src/Tests/Payments/IdealQRTest.php +++ b/tests/Buckaroo/Payments/IdealQRTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class IdealQRTest extends BuckarooTestCase { @@ -31,7 +31,10 @@ public function it_creates_a_ideal_qr() { $response = $this->buckaroo->method('ideal_qr')->generate([ 'description' => 'Test purchase', - 'returnURL' => 'https://buckaroo.dev./return', + 'returnURL' => 'https://buckaroo.dev/return', + 'returnURLCancel' => 'https://buckaroo.dev/cancel', + 'returnURLError' => 'https://buckaroo.dev/error', + 'returnURLReject' => 'https://buckaroo.dev/reject', 'minAmount' => '0.10', 'maxAmount' => '10.0', 'imageSize' => '2000', diff --git a/src/Tests/Payments/IdealTest.php b/tests/Buckaroo/Payments/IdealTest.php similarity index 93% rename from src/Tests/Payments/IdealTest.php rename to tests/Buckaroo/Payments/IdealTest.php index 43637a2d..d878510b 100644 --- a/src/Tests/Payments/IdealTest.php +++ b/tests/Buckaroo/Payments/IdealTest.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Config\Config; -use Buckaroo\Tests\BuckarooTestCase; class CustomConfig extends Config { @@ -42,8 +42,8 @@ protected function setUp(): void 'invoice' => uniqid(), 'amountDebit' => 10.10, 'issuer' => 'ABNANL2A', - 'pushURL' => 'https://buckaroo.nextto.dev/push', - 'returnURL' => 'https://buckaroo.nextto.dev/return', + 'pushURL' => 'https://buckaroo.dev/push', + 'returnURL' => 'https://buckaroo.dev/return', 'clientIP' => [ 'address' => '123.456.789.123', 'type' => 0, diff --git a/src/Tests/Payments/In3Test.php b/tests/Buckaroo/Payments/In3Test.php similarity index 98% rename from src/Tests/Payments/In3Test.php rename to tests/Buckaroo/Payments/In3Test.php index 9d1ba572..eb818b56 100644 --- a/src/Tests/Payments/In3Test.php +++ b/tests/Buckaroo/Payments/In3Test.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; class In3Test extends BuckarooTestCase { diff --git a/src/Tests/Payments/KBCTest.php b/tests/Buckaroo/Payments/KBCTest.php similarity index 94% rename from src/Tests/Payments/KBCTest.php rename to tests/Buckaroo/Payments/KBCTest.php index 9732deb3..5fa57174 100644 --- a/src/Tests/Payments/KBCTest.php +++ b/tests/Buckaroo/Payments/KBCTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class KBCTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/KlarnaKPTest.php b/tests/Buckaroo/Payments/KlarnaKPTest.php similarity index 98% rename from src/Tests/Payments/KlarnaKPTest.php rename to tests/Buckaroo/Payments/KlarnaKPTest.php index 249be58a..867eb3ef 100644 --- a/src/Tests/Payments/KlarnaKPTest.php +++ b/tests/Buckaroo/Payments/KlarnaKPTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class KlarnaKPTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/KlarnaTest.php b/tests/Buckaroo/Payments/KlarnaTest.php similarity index 98% rename from src/Tests/Payments/KlarnaTest.php rename to tests/Buckaroo/Payments/KlarnaTest.php index dcbd16f2..91dee781 100644 --- a/src/Tests/Payments/KlarnaTest.php +++ b/tests/Buckaroo/Payments/KlarnaTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class KlarnaTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/MarketplacesTest.php b/tests/Buckaroo/Payments/MarketplacesTest.php similarity index 97% rename from src/Tests/Payments/MarketplacesTest.php rename to tests/Buckaroo/Payments/MarketplacesTest.php index 3e13e900..715f12c6 100644 --- a/src/Tests/Payments/MarketplacesTest.php +++ b/tests/Buckaroo/Payments/MarketplacesTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class MarketplacesTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/PayPerEmailTest.php b/tests/Buckaroo/Payments/PayPerEmailTest.php similarity index 97% rename from src/Tests/Payments/PayPerEmailTest.php rename to tests/Buckaroo/Payments/PayPerEmailTest.php index 5bea74ef..bc33ca93 100644 --- a/src/Tests/Payments/PayPerEmailTest.php +++ b/tests/Buckaroo/Payments/PayPerEmailTest.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; class PayPerEmailTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/PayconiqTest.php b/tests/Buckaroo/Payments/PayconiqTest.php similarity index 95% rename from src/Tests/Payments/PayconiqTest.php rename to tests/Buckaroo/Payments/PayconiqTest.php index 7a0705b4..65234815 100644 --- a/src/Tests/Payments/PayconiqTest.php +++ b/tests/Buckaroo/Payments/PayconiqTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class PayconiqTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/PaypalTest.php b/tests/Buckaroo/Payments/PaypalTest.php similarity index 82% rename from src/Tests/Payments/PaypalTest.php rename to tests/Buckaroo/Payments/PaypalTest.php index bc3c522d..470bf7d9 100644 --- a/src/Tests/Payments/PaypalTest.php +++ b/tests/Buckaroo/Payments/PaypalTest.php @@ -18,10 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class PaypalTest extends BuckarooTestCase { @@ -99,28 +98,36 @@ public function it_creates_a_paypal_refund() public function it_creates_a_combined_subscriptions_with_paypal_and_extra_info() { $subscriptions = $this->buckaroo->method('subscriptions')->manually()->createCombined([ + 'pushURL' => 'https://buckaroo.dev/push', 'includeTransaction' => false, 'transactionVatPercentage' => 5, - 'configurationCode' => 'xxxxx', + 'configurationCode' => 'gfyh9fe4', 'email' => 'test@buckaroo.nl', - 'rate_plans' => [ + 'ratePlans' => [ 'add' => [ - 'startDate' => '2022-01-01', - 'ratePlanCode' => 'xxxxxx', + 'startDate' => '2033-01-01', + 'ratePlanCode' => '9863hdcj', ], ], 'phone' => [ 'mobile' => '0612345678', ], 'debtor' => [ - 'code' => 'xxxxxx', + 'code' => 'johnsmith4', ], - 'person' => [ - 'firstName' => 'John', - 'lastName' => 'Do', - 'gender' => Gender::FEMALE, +// 'person' => [ +// 'firstName' => 'John', +// 'lastName' => 'Do', +// 'gender' => Gender::FEMALE, +// 'culture' => 'nl-NL', +// 'birthDate' => '1990-01-01' +// ], + 'company' => [ 'culture' => 'nl-NL', - 'birthDate' => '1990-01-01', + 'companyName' => 'My Company Coporation', + 'vatApplicable' => true, + 'vatNumber' => 'NL140619562B01', + 'chamberOfCommerce' => '20091741', ], 'address' => [ 'street' => 'Hoofdstraat', diff --git a/src/Tests/Payments/PosTest.php b/tests/Buckaroo/Payments/PosTest.php similarity index 93% rename from src/Tests/Payments/PosTest.php rename to tests/Buckaroo/Payments/PosTest.php index 542e83b4..c5df6554 100644 --- a/src/Tests/Payments/PosTest.php +++ b/tests/Buckaroo/Payments/PosTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class PosTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/Przelewy24Test.php b/tests/Buckaroo/Payments/Przelewy24Test.php similarity index 95% rename from src/Tests/Payments/Przelewy24Test.php rename to tests/Buckaroo/Payments/Przelewy24Test.php index 246fa88d..a0a2cc58 100644 --- a/src/Tests/Payments/Przelewy24Test.php +++ b/tests/Buckaroo/Payments/Przelewy24Test.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class Przelewy24Test extends BuckarooTestCase { diff --git a/src/Tests/Payments/PushTest.php b/tests/Buckaroo/Payments/PushTest.php similarity index 97% rename from src/Tests/Payments/PushTest.php rename to tests/Buckaroo/Payments/PushTest.php index 82fb5b52..3aab3f4d 100644 --- a/src/Tests/Payments/PushTest.php +++ b/tests/Buckaroo/Payments/PushTest.php @@ -18,11 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Handlers\HMAC\Generator; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Handlers\Reply\ReplyHandler; -use Buckaroo\Tests\BuckarooTestCase; class PushTest extends BuckarooTestCase { @@ -42,7 +41,7 @@ public function it_test_the_push_response() $auth_header = 'IBjihN7Fhp:0YvyjYAzDQ28W+hQi80f2nhe0Z1QFJLbz7IH//6LsAU=:cad1832100784f57a6e6de835d9f3638:1658227572'; $post_data = '{"Transaction":{"Key":"5340604668D74435AA344E1428ED1292","Invoice":"62d68b6c8ab0c","ServiceCode":"ideal","Status":{"Code":{"Code":190,"Description":"Success"},"SubCode":{"Code":"S001","Description":"Transaction successfully processed"},"DateTime":"2022-07-19T12:46:12"},"IsTest":true,"Order":"ORDER_NO_62d68b6ca2df3","Currency":"EUR","AmountDebit":10.1,"TransactionType":"C021","Services":[{"Name":"ideal","Action":null,"Parameters":[{"Name":"consumerIssuer","Value":"ABN AMRO"},{"Name":"transactionId","Value":"0000000000000001"},{"Name":"consumerName","Value":"J. de Tèster"},{"Name":"consumerIBAN","Value":"NL44RABO0123456789"},{"Name":"consumerBIC","Value":"RABONL2U"}],"VersionAsProperty":2}],"CustomParameters":null,"AdditionalParameters":{"List":[{"Name":"initiated_by_magento","Value":"1"},{"Name":"service_action","Value":"something"}]},"MutationType":1,"RelatedTransactions":null,"IsCancelable":false,"IssuingCountry":null,"StartRecurrent":false,"Recurring":false,"CustomerName":"J. de Tèster","PayerHash":"2d26d34584a4eafeeaa97eed10cfdae22ae64cdce1649a80a55fafca8850e3e22cb32eb7c8fc95ef0c6f96669a21651d4734cc568816f9bd59c2092911e6c0da","PaymentKey":"AEC974D455FF4A4B9B4C21E437A04838","Description":null}}'; - $uri = 'https://buckaroo.nextto.dev/push'; + $uri = 'https://buckaroo.dev/push'; $post_data = [ "brq_amount" => "10.10", diff --git a/src/Tests/Payments/SepaTest.php b/tests/Buckaroo/Payments/SepaTest.php similarity index 97% rename from src/Tests/Payments/SepaTest.php rename to tests/Buckaroo/Payments/SepaTest.php index 7e069750..5a6194ac 100644 --- a/src/Tests/Payments/SepaTest.php +++ b/tests/Buckaroo/Payments/SepaTest.php @@ -1,8 +1,8 @@ buckaroo->method('subscriptions')->manually()->createCombined([ - 'pushURL' => 'https://buckaroo.nextto.dev/push', + 'pushURL' => 'https://buckaroo.dev/push', 'includeTransaction' => false, 'transactionVatPercentage' => 5, 'configurationCode' => 'gfyh9fe4', diff --git a/src/Tests/Payments/SurepayTest.php b/tests/Buckaroo/Payments/SurepayTest.php similarity index 93% rename from src/Tests/Payments/SurepayTest.php rename to tests/Buckaroo/Payments/SurepayTest.php index 40909f86..ed467975 100644 --- a/src/Tests/Payments/SurepayTest.php +++ b/tests/Buckaroo/Payments/SurepayTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class SurepayTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/TinkaTest.php b/tests/Buckaroo/Payments/TinkaTest.php similarity index 98% rename from src/Tests/Payments/TinkaTest.php rename to tests/Buckaroo/Payments/TinkaTest.php index 451254d1..e4689423 100644 --- a/src/Tests/Payments/TinkaTest.php +++ b/tests/Buckaroo/Payments/TinkaTest.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; class TinkaTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/TransferTest.php b/tests/Buckaroo/Payments/TransferTest.php similarity index 96% rename from src/Tests/Payments/TransferTest.php rename to tests/Buckaroo/Payments/TransferTest.php index 627bc1f9..6b9b9e41 100644 --- a/src/Tests/Payments/TransferTest.php +++ b/tests/Buckaroo/Payments/TransferTest.php @@ -18,10 +18,10 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; +use Tests\Buckaroo\BuckarooTestCase; use Buckaroo\Resources\Constants\Gender; -use Buckaroo\Tests\BuckarooTestCase; class TransferTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/TrustlyTest.php b/tests/Buckaroo/Payments/TrustlyTest.php similarity index 95% rename from src/Tests/Payments/TrustlyTest.php rename to tests/Buckaroo/Payments/TrustlyTest.php index 4e2947e7..1c92ea9e 100644 --- a/src/Tests/Payments/TrustlyTest.php +++ b/tests/Buckaroo/Payments/TrustlyTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class TrustlyTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/WeChatPayTest.php b/tests/Buckaroo/Payments/WeChatPayTest.php similarity index 95% rename from src/Tests/Payments/WeChatPayTest.php rename to tests/Buckaroo/Payments/WeChatPayTest.php index 0b655fa0..138356e0 100644 --- a/src/Tests/Payments/WeChatPayTest.php +++ b/tests/Buckaroo/Payments/WeChatPayTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class WeChatPayTest extends BuckarooTestCase { diff --git a/src/Tests/Payments/iDinTest.php b/tests/Buckaroo/Payments/iDinTest.php similarity index 95% rename from src/Tests/Payments/iDinTest.php rename to tests/Buckaroo/Payments/iDinTest.php index 22b85992..8b1cabc9 100644 --- a/src/Tests/Payments/iDinTest.php +++ b/tests/Buckaroo/Payments/iDinTest.php @@ -18,9 +18,9 @@ * @license https://tldrlegal.com/license/mit-license */ -namespace Buckaroo\Tests\Payments; +namespace Tests\Buckaroo\Payments; -use Buckaroo\Tests\BuckarooTestCase; +use Tests\Buckaroo\BuckarooTestCase; class iDinTest extends BuckarooTestCase {