VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: trumpton on October 12, 2009, 18:39:09 PM

Title: How to remove Pay Pal button from the customer account maintanance section
Post by: trumpton on October 12, 2009, 18:39:09 PM
Is there any way to remove the button that automatically loads in the Customer's Acccount Maintenance Area in the view where the order details are displayed.

A button with "click here to pay with paypal" appears. We have our system set to manually update the order status, so a customer could potentially pay for goods, god to their account control panel and see the button requesting payment.

This could be confusing.

Thanks
Trumpton.
Title: Re: How to remove Pay Pal button from the customer account maintanance section
Post by: trumpton on November 10, 2009, 23:39:00 PM
pretty please?
Title: Re: How to remove Pay Pal button from the customer account maintanance section
Post by: trumpton on November 10, 2009, 23:48:59 PM
Got it:
Do a search for x-click-but6.gif in the PayPal payment module (in the configuration tab).

Look for this:
echo '<input type="image" name="submit" src="https://www.paypal.com/en_US/i/btn/x-click-but6.gif" alt="Click to pay with PayPal - it is fast, free and secure!" />';

And replace it with this

echo '';

Now the Paypal button will not show up in the account management section after a person has placed an order (where the order status is set to pending on receipt) and then has gone to the account managment section to check the status of your order before you have had a chance to change the order status to confirmed.
Title: Re: How to remove Pay Pal button from the customer account maintanance section
Post by: stinga on November 11, 2009, 00:02:24 AM
G'day,

VM should change it automatically to confirmed or not. That is what IPN is supposed to do. notify.php is what does the leg work.