PHP Classes

Fantastic Class but I have a couple of questions

Recommend this page to a friend!

      Go PayPal  >  All threads  >  Fantastic Class but I have a couple...  >  (Un) Subscribe thread alerts  
Subject:Fantastic Class but I have a couple...
Summary:I want to exclude the Buy It Now button and empty the cart.
Messages:1
Author:Chris Gamble
Date:2016-06-21 12:02:27
 

  1. Fantastic Class but I have a couple...   Reply   Report abuse  
Picture of Chris Gamble Chris Gamble - 2016-06-21 12:02:27
Hi,

First of all, thank you for a superb easy class which does pretty much exactly what I need.

I have based my code on the Third Party Cart example.

I have created a cart which is built on my website and then passes multiple items to PayPal for Payment.

When you press my checkout button it runs the code to add items to the GoPayPal items array but then displays a Buy It Now buttom.
Is there a way of remonong this button so that it just forwards the items to PayPal as soon as MY checkout button is pressed.

OR...

Is there a way to empty the GoPayPal cart so that I can just rebuild it everytime my cart is displayed. This would then allow me to replace my checkout button and use the GoPayPal Buy It Now button instead.

I am a hobby coder so please allow for my ignorance.

Many thanks.