How do you process Carts thru PayPal and ePDQ on PHP?
Posted: Fri Mar 20, 2015 6:30 pm
We use external web sites for the cart processes. It works well for us, as it takes away the next for us to supply all the accounting information stuff.
But, it would be rather good if we could do it ourselves. I know how to do Carts, specially if done with a database and logins, but once items are in a cart, I see templates such as woocommerce, where you select PayPal for example, and process, and it takes the user to PayPal and it shows the products being bought.
Of they go thru ePDQ or other methods.
I don't understand tho how these methods work. Does each method require a very different style of processing code?
ie. PayPal: how does it pass thru each of the products, if you have not setup product codes for those items. For example, we setup a web site with a WP theme, made up two products randomly, and took them to PayPal and they they are in the PayPal screen.
This clearly isn't done with any form of PayPal created button as I didn't enter paypal to do this - until I reached that page.
How does it do it?
I'm sure if I can work that out, I can do the rest, such as local stock controls, addresses etc.
I've also seen where these payments are taken directly on the web site itself, not going to PayPal to login and pay. Is there a special way that is done?
But, it would be rather good if we could do it ourselves. I know how to do Carts, specially if done with a database and logins, but once items are in a cart, I see templates such as woocommerce, where you select PayPal for example, and process, and it takes the user to PayPal and it shows the products being bought.
Of they go thru ePDQ or other methods.
I don't understand tho how these methods work. Does each method require a very different style of processing code?
ie. PayPal: how does it pass thru each of the products, if you have not setup product codes for those items. For example, we setup a web site with a WP theme, made up two products randomly, and took them to PayPal and they they are in the PayPal screen.
This clearly isn't done with any form of PayPal created button as I didn't enter paypal to do this - until I reached that page.
How does it do it?
I'm sure if I can work that out, I can do the rest, such as local stock controls, addresses etc.
I've also seen where these payments are taken directly on the web site itself, not going to PayPal to login and pay. Is there a special way that is done?