-
Notifications
You must be signed in to change notification settings - Fork 146
Add sepa support #170
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
Add sepa support #170
Conversation
defaultPaymentMethodDetails.setSepaIbanNumber("DE87123456781234567890"); | ||
|
||
PaymentsRequest paymentsRequest = createPaymentsCheckoutRequest(); | ||
paymentsRequest.setApplicationInfo(null); |
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.
This is redundant. please remove null assignment.
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.
We need to remove the application info because the version is always updating and the mock request is not.
public void TestSepaPaymentMethodDetails() { | ||
DefaultPaymentMethodDetails defaultPaymentMethodDetails=new DefaultPaymentMethodDetails(); | ||
defaultPaymentMethodDetails.type(TYPE_SEPA_DIRECT_DEBIT); | ||
defaultPaymentMethodDetails.setSepaOwnerName("A. Schneider"); |
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.
This type constant is not needed.
No description provided.