Open samcarlosimpres opened 8 years ago
Hey @samcarlosimpres,
Can you provide a sample project that I can simulate the issue?
Thanks
Thanks for your answer @chagasaway,
The sample project is here: https://github.com/samcarlosimpres/PayPal-Test
Thanks for the sample @samcarlosimpres, I'll take a deeply look later today on this issue.
Hey @samcarlosimpres,
I analysed the issue in the sample repository and figured out that a method was not implemented on your MainActivity.java file.
public void onActivityResult(final int requestCode, final int resultCode, final Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == PAY_PAL_REQUEST_ID) {
payPalPackage.handleActivityResult(requestCode, resultCode, data); // <--
} else {
otherModulesHandlers(requestCode, resultCode, data);
}
}
I have made a PR with this missing method as well: https://github.com/samcarlosimpres/PayPal-Test/pull/1/files
If that method fixes the issue, please let me know to close the issue.
Best regards
Sorry for the late answer @chagasaway.
I'd test the code with your changes included and it's still not working. There are two scenarios that I've used:
@samcarlosimpres have you fixed this issue? If you fixed give me suggestions that how to resolve it,Thank you
Everything is working fine, but I don't receive the callbacks after the payment. How can I solve that?