Friday 15 January 2010

android - PayPal SDK: User Pays, then hits home before Done -


I had to face a scenario in which a user enters the paypal stream and buys the ticket, then return to the main activity Instead of clicking a full click, the user clicks the home and returns home. Then the activity is killed.

In that use, payment information from PayPal never comes into the app, so there is no way to know the app that it should update its information in the database. It seems that the user was never paid at the first place, the hole in his wallet was reduced ...

Saving the data before entering the processing will not be a solution, as There is no such payment as this usage, since no payment information is ever returned in the activity.

Anyone have any ideas?

If only there is a way to leave the full page of PayPal and only automatically comes back ....

Then I think you are better at asking their support team.

I do not know the API, but the IMHO should provide some way to read the proof of payment in another way.

If onActivityResult is the only way, then this is a very, very poor API. The user can kill the application on the paid transaction activity .

From your statement, I also feel that they have a bug and do not use onSaveInsatnceState to save the state when the application process is killed by the system. Read the comments under, so we can clarify it.

No comments:

Post a Comment