-
Notifications
You must be signed in to change notification settings - Fork 26
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
Implement changes of Saferpay API 1.19 #55
Conversation
Thank you very much! I will have a look at this asap. |
* @var string|null | ||
* @SerializedName("Gender") | ||
*/ | ||
private $gender; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible improvement: Add allowed gender values as class constants.
MALE, FEMALE, DIVERSE, COMPANY.
/** | ||
* @param bool|null $hasAccount | ||
* @return PayerProfile | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method docblocks can be removed everywhere as the code is self-documenting due to type hints.
Tests fail due coding standards. |
Continued in #57 |
added value 1.19 for SpecVersion
(Implemented)
added container PayerProfile to container RiskFactors in PaymentPage/Initialize and Transaction/Initialize requests
(Implemented for PaymentPage/Initialize, not for Transaction/Initialize that do not exist in master)
added containers Order and RiskFactors to Transaction/AlternativePayment request
(Not implemented, the request do not exist in master)
added container FraudPrevention in Transaction/Authorize, PaymentPage/Assert and Transaction/AlternativePayment responses
(Implemented for PaymentPage/Assert response, not for the others that do not exist in master)
removed parameters AccountCreationDate and PasswordLastChangeDate from container RiskFactors in PaymentPage/Initialize and Transaction/Initialize requests (moved to container PayerProfile)
(Implemented)
added parameter Description to container Payment in Saferpay Secure PayGate API CreateOffer request
(Not implemented, the request do not exist in master)
Resolves: #36