-
Notifications
You must be signed in to change notification settings - Fork 145
Pw 666 checkout payment v40 and Application info #148
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
Conversation
.idea.bak/compiler.xml
Outdated
| @@ -0,0 +1,16 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
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.
Can you please remove all .idea/* files ?
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.
yes the files are removed
| * Copyright (c) 2017 Adyen B.V. | ||
| * This file is open source and available under the MIT license. | ||
| * See the LICENSE file for more info. | ||
| */ |
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.
please readd copyright
| * ###### | ||
| * ############# | ||
| * ############ | ||
| * |
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.
please fix copyright
| @Override | ||
| public int hashCode() { | ||
| return Objects.hash(additionalData, authResponse, errorMessage, fraudResult, merchantReference, pspReference, refusalReason, resultCode); | ||
| return Objects.hash(additionalData, authResponse, fraudResult, merchantReference, pspReference, refusalReason, resultCode); |
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.
please add refusalReasonCode
| && Objects.equals(this.socialSecurityNumber, paymentSessionRequest.socialSecurityNumber) | ||
| && Objects.equals(this.telephoneNumber, paymentSessionRequest.telephoneNumber) | ||
| && Objects.equals(this.token, paymentSessionRequest.token); | ||
| PaymentSessionRequest paymentSetupRequest = (PaymentSessionRequest) o; |
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.
should this be called paymentSessionRequest?
| public String toString() { | ||
| StringBuilder sb = new StringBuilder(); | ||
| sb.append("class PaymentSessionRequest {\n"); | ||
| sb.append("class PaymentSetupRequest {\n"); |
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.
same as above
| public ModificationResult adjustAuthorization(AdjustAuthorisationRequest adjustAuthorisationRequest, RequestOptions requestOptions) throws IOException, ApiException { | ||
|
|
||
| String jsonRequest = serializeRequest(adjustAuthorisationRequest); | ||
| String jsonResult = cancel.request(jsonRequest, requestOptions); |
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.
is this calling the cancel endpoint?
| public ModificationResult technicalCancel(TechnicalCancelRequest technicalCancelRequest, RequestOptions requestOptions) throws IOException, ApiException { | ||
|
|
||
| String jsonRequest = serializeRequest(technicalCancelRequest); | ||
| String jsonResult = cancel.request(jsonRequest, requestOptions); |
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.
is this calling the cancel endpoint?
| import com.adyen.Service; | ||
| import com.adyen.service.Resource; | ||
|
|
||
| public class Authorise3DS2 extends Resource { |
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.
is this used?
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.
Based the documentation it is used
https://docs.adyen.com/api-explorer/#/Payment/v40/authorise3ds2
|
@AlexandrosMor please remove all autogenerated code starting with @javax.annotation.Generated |
| /** | ||
| * SDKEphemPubKey | ||
| */ | ||
| @javax.annotation.Generated(value = "io.swagger.codegen.languages.java.JavaClientCodegen", date = "2018-12-06T14:10:59.920Z[GMT]") |
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.
Please remove swagger autogenerated annotations.
| /** | ||
| * ModelConfiguration | ||
| */ | ||
| @javax.annotation.Generated(value = "io.swagger.codegen.languages.java.JavaClientCodegen", date = "2018-12-11T13:51:52.335Z[GMT]") |
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.
same as above, remove swagger annotation
| @SerializedName("accountInfo") | ||
| private AccountInfo accountInfo = null; | ||
|
|
||
| @SerializedName("applciationInfo") |
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.
ApplicationInfo is not applicable for PaymentMethodRequest
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.
Checking the PaymentSetupAndVerificationService-v40.json the applicationInfo it is in the properties.
| /** | ||
| * ShopperInput | ||
| */ | ||
| @javax.annotation.Generated(value = "io.swagger.codegen.languages.java.JavaClientCodegen", date = "2018-11-08T13:12:01.900Z[GMT]") |
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.
Same as above, please remove swagger annotation.
No description provided.