I am just completing my app oauth and charging php integration.
If I delete the app from within my test shop admin, the browser session still exists and I get a 401 Unauthorized error if I try to refresh my app.
I was just wondering what the best practice is (which API method to call) to check for any unauthorized access and then delete the session vars.
But which API call would be best to use. Ideally it would be something that doesn't return a lot of data as it will called in the header of each page load.
Actually, probably just checking the recurring charge should do it, as I need to check that anyway....
Never mind, thanks :)
Actually, one other thing I wanted to check....
I am storing the shop name and recurring charge id in my local database and look up the charge based on the shop name.
Is is possible that a shop that has my app installed could change it's name and should I use some other way to check the recurring charge for the shop?
|8 hours ago|