Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ok fixes #198

Merged
merged 18 commits into from
Sep 23, 2024
Merged

Ok fixes #198

merged 18 commits into from
Sep 23, 2024

Conversation

SKMan
Copy link
Contributor

@SKMan SKMan commented Sep 23, 2024

No description provided.

…est::test_should_convert_to_pki_request_string"
…uestWithInitialConsumerTest::test_should_get_json_string"
…radeRequestTest::test_should_get_json_string"
…Test::test_should_convert_to_pki_request_string"
…est::test_should_convert_to_pki_request_string"
@SKMan SKMan merged commit 81b3b04 into ok-complete Sep 23, 2024
erdemdmr added a commit that referenced this pull request Sep 23, 2024
* PHP version update

* Card Blacklist services & tests

* iyziLink Ccreate Product service upgrade complete, FastLink with 404 error

* IyziLink FastLink create complete

* IyziLink Update Product Status Complete

* requestToStringQuery type update

* IyziLink / Search Merchant Products complete

* PHP version update

* Create C2C Submerchant complete

* Verify C2C Submerchant complete

* Create & Verify C2C Submerchant tests complete

* create function return type added

* Minor type fixes

* Amount Bsee Refund Services & sample complete

* Amount Base Refund tests complete

* PlusInstallment: Create Payment service complete

* PlusInstallment: Create Payment sample & tests complete

* Base model updates

* Mail address change

* getHttpHeadersV2 function params update

* reportingScrollTransaction type added

* Reporting: Scroll Transaction Reporting service complete

* Reporting: Scroll Transaction Reporting sample & tests complete

* Subscription List service partially complete with date format error.

* Subscription List sample & tests complete

* Uncommented lines

* Subscription: Delete Customer service complete

* Subscription: Delete Customer sample & tests complete

* Date filters format fix

* sms verification code encryption for verify endpoint complete

* payload uri re-structured for v2 headers

* signature verification function implemented

* CheckoutFormInitialize service updated to v2 headers

* Removed unused line

* Function updated to reflect params order variations

* Added signature verification sample codes

* BKM Initialize service updated with v2 headers along with signature verification sample

* CheckoutForm Retrieve service updated to v2 Headers

* BKM Retrieve service updated to v2 headers

* Payment Service Initialize 3D Payment updated to v2 headers

* Payment Service Create 3D Payment updated to v2 headers

* Payment Service Create Non3D Payment updated to v2 headers

* Payment Service Retrieve Payment Result updated to v2 headers

* Cleanup

* Provision Service Create Non3D Preauth updated to v2 headers along with a sample file

* Provision Service Initialize 3D Preatuh updated to v2 headers along with a sample file

* Provision Service Initialize CheckoutForm Preauth updated to v2 headers along with a sample file

* Provision Service Create PostAuth updated to v2 headers along with a sample file

* PWI Services Initialize updated to v2 headers

* Cleanup

* PWI Services Retrieve updated to v2 headers

* removed used token

* AUTHORIZATION_FALLBACK_HEADER added to v2 headers

* APM Service Initialize & Retrieve updated to v2 headers

* Updated Service in sample file

* Signature verification test codes added

* Signature field moved to Resource file

* paymentId field added into request and sample file

* sample file create_threads_preauth renamed to initialize_checkoutform_preauth

* Loyalty/Inquire service updated to v2 headers

* Marketplace Services updated to v2 headers

* Marketplace C2C Services updated to v2 headers

* Payment Services updated to v2 headers

* PlusInstallment Service updated to v2 headers

* Reporting Service updated to v2 headers

* Card Register Service updated to v2 headers

* Card BlackList Service updated to v2 headers

* Payment & iyziUp Services updated to v2 headers

* PaymentPreAuth Retrieve updated to v2 headers along with a signature verification test codes included sample file

* iyziUp Form Services updated to v2 headers

* installmentHtml Service updated to v2 headers

* Crossbooking Services updated to v2 headers

* Payment Services updated to v2 headers

* callbackUrl & webhook signature validation files added to samples folder

* Variable name fixes

* chore: Update IyziAuthV2Generator.php and AmountBaseRefund.php

* chore: Update .gitignore to exclude index.php file

* gitignore updated

* ReportingPaymentDetailRequest bug fix

* amount_base_refund uri bug fix

* getHttpHeadersIsV2 method added

* Remove test.php file

* ucs_init.php print_r fixed

* getHttpHeadersV2 to getHttpHeadersIsV2

* Refactor ThreedsPayment::retrieve method to use getHttpHeadersV2 for API request

* Refactor ThreedsPayment::retrieve method to use getHttpHeadersV2 for API request

* Update github_pull_request.yml

Signed-off-by: Erdem Demir <[email protected]>

* Update PHP version requirement to 7.4 and later

* Update github_pull_request.yml

Signed-off-by: Erdem Demir <[email protected]>

* Update PHPUnit version requirement to 5.4.*

* Update PHPUnit version requirement to ~9.6

* FileBase64Encoder rename FileBase64EncoderTest

* Refactor test classes to extend TestCase

* Ok fixes (#196)

* getHttpHeaders function added

* Function updated to allow nullable request

* Function updated to allow nullable request

* Fixes to pass tests in accordance with respective request class

* fixes failure "Iyzipay\Tests\Request\CreateBasicBkmInitializeRequestTest::test_should_get_json_object"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "7) Iyzipay\Tests\Request\CreateCheckoutFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "8) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "9) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestWithInitialConsumerTest::test_should_get_json_string"

* fixes failure "10) Iyzipay\Tests\Request\Subscription\SubscriptionUpgradeRequestTest::test_should_get_json_string"

* fixes failure "11) Iyzipay\Tests\Request\UpdateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "5) Iyzipay\Tests\Request\CreateBasicPaymentRequestTest::test_should_get_json_string"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "1) Iyzipay\Tests\DefaultHttpClientTest::test_should_check_if_options_not_empty"

---------

Co-authored-by: Osman Keser <[email protected]>

* Ok fixes (#197)

* getHttpHeaders function added

* Function updated to allow nullable request

* Function updated to allow nullable request

* Fixes to pass tests in accordance with respective request class

* fixes failure "Iyzipay\Tests\Request\CreateBasicBkmInitializeRequestTest::test_should_get_json_object"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "7) Iyzipay\Tests\Request\CreateCheckoutFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "8) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "9) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestWithInitialConsumerTest::test_should_get_json_string"

* fixes failure "10) Iyzipay\Tests\Request\Subscription\SubscriptionUpgradeRequestTest::test_should_get_json_string"

* fixes failure "11) Iyzipay\Tests\Request\UpdateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "5) Iyzipay\Tests\Request\CreateBasicPaymentRequestTest::test_should_get_json_string"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "1) Iyzipay\Tests\DefaultHttpClientTest::test_should_check_if_options_not_empty"

* fixes error 1 "Call to undefined method..."

* fixes error 2 "file_get_contents/.... Failed to open stream"

---------

Co-authored-by: Osman Keser <[email protected]>

* Ok fixes (#198)

* getHttpHeaders function added

* Function updated to allow nullable request

* Function updated to allow nullable request

* Fixes to pass tests in accordance with respective request class

* fixes failure "Iyzipay\Tests\Request\CreateBasicBkmInitializeRequestTest::test_should_get_json_object"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "7) Iyzipay\Tests\Request\CreateCheckoutFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "8) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "9) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestWithInitialConsumerTest::test_should_get_json_string"

* fixes failure "10) Iyzipay\Tests\Request\Subscription\SubscriptionUpgradeRequestTest::test_should_get_json_string"

* fixes failure "11) Iyzipay\Tests\Request\UpdateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "5) Iyzipay\Tests\Request\CreateBasicPaymentRequestTest::test_should_get_json_string"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "1) Iyzipay\Tests\DefaultHttpClientTest::test_should_check_if_options_not_empty"

* fixes error 1 "Call to undefined method..."

* fixes error 2 "file_get_contents/.... Failed to open stream"

* Put, Patch fix

---------

Co-authored-by: Osman Keser <[email protected]>

* Ok fixes (#200)

* getHttpHeaders function added

* Function updated to allow nullable request

* Function updated to allow nullable request

* Fixes to pass tests in accordance with respective request class

* fixes failure "Iyzipay\Tests\Request\CreateBasicBkmInitializeRequestTest::test_should_get_json_object"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "7) Iyzipay\Tests\Request\CreateCheckoutFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "8) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestTest::test_should_get_json_string"

* fixes failure "9) Iyzipay\Tests\Request\CreateIyziupFormInitializeRequestWithInitialConsumerTest::test_should_get_json_string"

* fixes failure "10) Iyzipay\Tests\Request\Subscription\SubscriptionUpgradeRequestTest::test_should_get_json_string"

* fixes failure "11) Iyzipay\Tests\Request\UpdateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "5) Iyzipay\Tests\Request\CreateBasicPaymentRequestTest::test_should_get_json_string"

* fixes failure "6) Iyzipay\Tests\Request\CreateBlacklistedCardRequestTest::test_should_convert_to_pki_request_string"

* fixes failure "1) Iyzipay\Tests\DefaultHttpClientTest::test_should_check_if_options_not_empty"

* fixes error 1 "Call to undefined method..."

* fixes error 2 "file_get_contents/.... Failed to open stream"

* Put, Patch fix

* Put, Patch fix

---------

Co-authored-by: Osman Keser <[email protected]>

---------

Signed-off-by: Erdem Demir <[email protected]>
Co-authored-by: Osman Keser <[email protected]>
Co-authored-by: tarikkamat <[email protected]>
Co-authored-by: Erdem Demir <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants