Intro:
Hi. I'm creating a site which would be accepting only Papal WPS. The idea of the site is that a user should pay to register. When he pays he gets a generated number, which is his login and password simultaneously. I've hooked into the login process so that it now requires only username. So it's a kind of an access code to the site, which will expire in a certain period of time(cron just deletes the accounts which are too old) and the user has to pay again to have get another access code. Besides the user should not enter any information about himself on the site, instead the info should be passed into the order through the IPN.
Problems:
So one of the very strange things about ubwecart Paypal WPS is that the order is processed by the "uc_cart_complete_sale" twice(as far as i understand): one call is from uc_paypal_ipn and another one from "uc_paypal_complete" which is really strange because when an anonymous user pays, the account for him is created when he is still on the PayPal site and when he presses "Go back to merchant" button, he sees not the info of his newly created account, but something like "Your order has been attached to the account with "this" email". So the user never sees his account details.
And its very bad in my case, because the user does not have access to his account details, 'cause he should not even realize that is an account. He's paying only for the access code. Besides he does not get an e-mail with his account details because he never entered any e-mail on the site and IPN does not send it to the site, even if it does, I can't place it to the order: http://www.ubercart.org/forum/support/7957/using_paypal_ipns_info
I know it might sound strange not to require any info from the user, but that's the way the boss said it should be.
Sorry for such a long post, I'm just completely stuck with these problems, so please if someone had a similar problem and knows how to solve it, let me know. Thanks


