I have a shop system that integrates PayPal in the usual way, i.e. the user is redirected to paypal.com to log in and confirm the payment after which the user is directed back at a confirmation page in my shop system.
Now my customer is asking if the entire process can be run inside the shop itself.
I have two or three ideas about this (not that it really matters, but the site is PHP based):
Use cURL functions serverside to talkto paypal, show all required forms inside the shop pages. Probably not a good idea.
Use an
<iframe>
to display the paypal pages as they are. Off the top of my had this should work fine but wouldn't be as pretty.Use some kind of PayPal API. I've only seen something that seems to require a Pro account (for the seller) with PayPal and does only work with credit card payments.
I'm not an expert on PayPal integration, the current solution came with the shop software. If any of you guys could shed some light on the pros, cons and impossibles I'd be very grateful.