Quote:
Originally Posted by Lynx-lynx
I see the logic in the code you've written. Maybe you should delete it because if Kobo haven't already worked it out then you've done the job for them. 
|
Meh. I've removed it, but if Kobo engineers can't think of a way to fix this, then they deserve their site to be raided. I can think of multiple ways to prevent multi-tabbing, depending on how Paypal works and wants the data to be delivered. My suggestion above was just one of a few possible scenario's.
(This scenario assumed that there is no way to check if the code is already used BEFORE sending the data to Paypal; so you'd do it afterward, rolling back the sale.)
Oh, and I don't really care about the book not being in the purchase history, if the book gets into the library. I always download, un-DRM, and backup the book as soon as I buy it.
After I download it and I have it in un-DRM'd, in Calibre and backed up, the library at Kobo can explode into smithereens as far as I'm concerned. I never use it. The chance of me losing my entire ebook library is almost zero. (The only way to do it is to burn down several locations at the same time, on purpose.)