-
Notifications
You must be signed in to change notification settings - Fork 33
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
[WIP] Mercadopago gateway implementation #768
Conversation
…go checkout screens
f028760
to
67e035d
Compare
@@ -3,7 +3,7 @@ | |||
buildscript { | |||
ext { | |||
buildToolsVersion = "28.0.3" | |||
minSdkVersion = 18 | |||
minSdkVersion = 19 |
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.
Why is this needed? Some people have quite old devices, see #745
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.
Ok sorry, I didn't see the comment of 2373df7
I see, it appeared in version 4.29.0
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.
Another possibility would be to override the version, like:
mercadoPagoPxVersion = "4.28.0"
But it doesn't seem like a good idea... @jamesdgrant are there lots of messengers with Android 4.3?
@alexsegura I'm fixing conflicts with master and encountered changes in the android build tools version. Are you probably using a newer gradle version? Here's some of the output: > Task :app:processDebugManifest FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
711 actionable tasks: 5 executed, 706 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> java.lang.NullPointerException (no error message) Current build tools versions:
Current gradle version:
Run the restart script in |
🎨 Adds a few spanish translations
+ Code cleanup
+ The service now interacts with the server to updated and return an order + Adds error handlers on payment cancel or payment error
This PR depends on facttic/coopcycle-web@84d2593 |
This is a work in progress, do not merge.
Depends on coopcycle-web/pull/1655
Closes #729
Suggestion to repository maintainers:
mercadopago
branch from masterThis PR provides:
MercadopagoCheckout
MoreInfo
component refactor to choose between gatewaysPending tasks:
getPreferenceId
function to an http call to the server. The preferences Mercadopago request should be done server-sidemercadopagoCheckout
finishesreact-native-mercadopago-px
usage to supportsplit paymentsthe auth/capture payment flow. This PR won't include such functionality