Hi, I have just signed up to paypal pro payments and want to get this set-up on my site. What i want to do is have a form where the customer can fill in their credit card details and when the user clicks pay now then it will check with paypal without going off my site to see if the payment is valid or not. I have seen quite a few classes which i think do this but want to know your opinion on the best way to set this up and also what script to use if you have done this before and used a script. Cheers, Adam
You're going to want to use the Express checkout method. Paypal has premade scripts in their developers area. The customer will be transferred to paypal, but they have to come back to your site to complete the payment. https://www.paypal.com/IntegrationCenter/ic_expresscheckout.html
I think this is what i need https://www.paypal.com/IntegrationCenter/ic_uk-direct-payment.html but don't know how to implement this.
Hi, Do you have a secure server where you can ask customer to fill their credit card details??? The above comment by jestep is wrong. "The customer will be transferred to paypal, but they have to come back to your site to complete the payment". The customer will be transferred to paypal and completes his payment there. If you have enabled IPN or PDT you should create a security token. Before passing the payment variables Paypal will send some encoded variables back to your website. You will then need to pass the variables you need back to paypal along with the security token. After confirming this paypal will send the payment variables back to your IPN/PDT scripts. You need to url decode the variables and either display the status or store the variables in a database. Again you need to send a OK message back to Paypal. There are lot of other things which also need to be taken into consideration like payment status, whether it is Completed etc..Or whether the customer has paid by e-check in case there will be a delay etc...All these happen behind the scenes. I am currently developing a custom shopping cart for my site in which I am testing PDT and IPN. Bit complex to understand for those not familiar with Programming...
Looks like they removed all of their sample code from the paypal dev network. They used to have full sample scripts for integration. Basically you need to find a Payflow Pro php script or develop one yourself. The UK Payments pro system is based off the Verisign Payflow Pro Gateway. There's some good information here: http://www.pdncommunity.com/pdn/board?board.id=payflow I'll post a link if I come across a full script for the UK version.
Hi, Paypal has not removed the scripts..it is still there..You can locate it at: http://www.paypal-tech.com/SG2/ But you need to code more details in the script that Paypal provides according to your requirements. It should not be used as such. They have provided comments where you need to add additional code. The following link about IPN will also help you: https://www.paypal.com/IntegrationCenter/ic_ipn.html
Hmm.. Sounds quite difficult but i think it is a worthy feature to have. Yes i have a secure server so this is not a problem.
Yep...of course a must for any worthy online payment system. If you need assistance in coding you can PM me...