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

PW-458: Added timeout optional configuration #68

Merged
merged 2 commits into from
Jul 4, 2018
Merged

Conversation

Aleffio
Copy link
Member

@Aleffio Aleffio commented Jul 2, 2018

Description
Added timeout optional configuration, to be used on Magento2 terminal API.
Removed required fields relative to the payment, since we use the same endpoint for Status call as well.

// 'SaleToPOIRequest.PaymentRequest.PaymentTransaction.AmountsReq.Currency',
// 'SaleToPOIRequest.PaymentRequest.PaymentTransaction.AmountsReq.RequestedAmount',
// //PaymentData is optional, if not provided it will perform an authorisation(no refunds)
// 'SaleToPOIRequest.PaymentRequest.PaymentData.PaymentType',
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just remove the complete requiredFields ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing all the required fields in a separate PR

@zjwu1
Copy link

zjwu1 commented Jul 4, 2018 via email

@Aleffio Aleffio merged commit a22c9ae into develop Jul 4, 2018
Aleffio added a commit that referenced this pull request Jul 6, 2018
* Add x-api key for Terminal API (Cloud)

* Added POIID entr for Unique Terminal ID

* First iteration for Terminal API (Cloud)

* PW-351: Moved buildPosPaymentRequest to Util. Refactoring.

* PW-351: Exclude POS tests.

* PW-351: Tests change to EUR

* PW-351: Provide original amount

* PW-351: Changed isset to !empty.

* PW-351: Refactoring.

* PW-351: Fix Headers.

* PW-351: Minor fixes

* PW-351: Fixed POS tests if apikey or poiid not provided.

* Add adjustAuthorisation to modification models

* Fix php5.3 compatibility in tests

* Fix typo

* Update LICENSE

* PW-421: minor fixes for terminalCloudApi after review

* PW-421: removed print statement

* PW-421: Adding Checkout and Checkout Utility support

* PW-421: Adding Checkout and Checkout Utility support, modified CurlClient to make it testable

* PW-241: fixed failing test

* PW-421: removed comment

* PW-421: include Checkout unit tests, simplified CheckoutUtility endpoint

* PW-421: Added ApiKeyAuthenticatedService and renamed supportsXAPIKey to requiresApiKey

* PW-421: removed phpstorm comment

* PW-421: fix for Travis

* PW-421: fix for PHP <= 5.4

* PW-421: Readded previous tests, changed Checkout API key message if not provided, added fail() call to the failureTests

* PW-421: Removed redundant line in xml

* PW-421: Simplified ApiKeyAuthenticatedService structure

* PW-448 Added mocking to Authorise API (#65)

* PW-448: Added mocking for Authorise API, refactored CheckoutMockClient

* PW-448: added curlError function for easier mocking

* PW-448: Added test on happy flow to prevent full card data to be logged

* PW-448: Replaced assertEquals with assertInstanceOf for exceptions

* PW-448: Treat logger as stub

* PW-448: Added check for cse encrypted data

* Version bump 1.5.0

* Removed getPOIID from config/interface

* Updated setup/verify endpoints with paymentSession/paymentsResult (#67)

* Updated setup/verify endpoints with paymentSession/paymentsResult

* added missing requiredfields

* PW-458: Added timeout optional configuration (#68)

* PW-458: Added timeout optional configuration

* reverted _requiredfields

* PW-445: Removed required fields, validate function and related tests (#69)

* PW-445: Removed required fields, validate function and related tests

* Removed MissingFields test
@cyattilakiss cyattilakiss deleted the terminal_apitimeout branch January 9, 2019 14:40
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.

4 participants