-
Notifications
You must be signed in to change notification settings - Fork 658
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 support for EPS PaymentMethod #2395
Conversation
@@ -164,7 +164,8 @@ data class PaymentMethodCreateParams internal constructor( | |||
Sofort("sofort"), | |||
P24("p24"), | |||
Bancontact("bancontact"), | |||
Giropay("giropay") | |||
Giropay("giropay"), | |||
EPS("eps") |
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.
let's make this Eps
to be consistent with the other types (e.g. FPX is Fpx
)
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.
👍
@@ -525,6 +526,19 @@ data class PaymentMethodCreateParams internal constructor( | |||
) | |||
} | |||
|
|||
@JvmStatic | |||
@JvmOverloads | |||
internal fun createEPS( |
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.
createEps()
Resolving merge conflicts |
Summary
See title
Motivation
Users should migrate to PaymentMethods but may not be able to if they use EPS
Testing
Wrote unit tests