Closed fedetoledo closed 4 years ago
Hi! Thanks for reaching us.
We need a little bit of information to understand what's going on around, so let's check a few steps:
I think that the problem could be related for a misconfiguration. If you're creating a preference that doesn't match correctly with your credentials, or if you're mixing environments when dealing with the checkout this error is pretty common.
I've also another question, are you willing to opening for us the repository where you've your code to help solve the issue? (This is just in case we can't help you via the issue tracker).
Thanks for the reply, I've updated the issue. I can provide you the repo if you'd need to.
In react-native at version superior to v0.60 dependencies are auto-linked.
This library started with react-native 0.60 in mind. For IOS we've a little bit more steps, due to issues with how MP needs the integration to be done.
Maybe for this case, would be cool to get access to the repo so we can help you understand what's going on.
If you've your repo hosted here, bring me access! Glad to help you.
Sent you invitation. I have added the official mercado pago dependency to my android build, maybe that's bringing up some issues with the setup.
You shouldn't add that! Our library covers you with MP, we've installed in the gradle library setup the latest working version of the MP stable.
You can see it here:
https://github.com/BlackBoxVision/react-native-mercadopago-px/blob/master/android/build.gradle#L130
Ok, the error is not from this library, but from my testing user from MP. Using any random email like "user@test.com" works perfectly. Thank you for your help!
You're welcome! Glad to help!
Describe the bug I'm having this problem. When you press "pagar", it says "procesando pago" and after that, the "pagar" button goes unavailable, and an empty red square slides up for a second, no text within. After that I can't pay again, I have to go back to my app.
EDIT: I'm using the example code that you provide. I have created a Mercado Pago test user and using it as a customer, while using my sandbox credentials to test the integration. It could be misconfiguration, as i'm testing in Android and couldn't find the installation process, like the IOS manual installation in your docs. I used automatic link but would be great to check if it's all linked like it should.
Screenshots
Smartphone