I am an experienced Java programmer and I've just started with PHP and I am completing my second site. I want to incorporate a payment page and have some issues. I have two payment requirements: firstly to allow users to buy a bundle of 10 resources (or 20 or 30), secondly to allow the users to renew the resources they have bought, which I have a record of. The first question is: I can use buy now buttons but how can I confirm that the transaction was completed? I can put the button on the page, it will go off to PayPal and come back to the "success" page. But when they get there how can I confirm that the transaction was successful and somebody hasn't just navigated to the success page without completing the transaction? Secondly, when the renewal comes up I can get the number of resources they need to renew from the database and calculate the cost. I want to pass that cost to PayPal for payment, but if I use express checkout my understanding is that the user will not be given the option to pay by credit card, only PayPal account. I want them to have the credit card option so how can I pass the amount over to PayPal and complete the transaction given that I can't use a buy now but because I don't know what the amount is until runtime. Thanks, Neil
... View more