News:

Support the VirtueMart project and become a member

Main Menu

How to remove Pay Pal button from the customer account maintanance section

Started by trumpton, October 12, 2009, 18:39:09 PM

Previous topic - Next topic

trumpton

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.


trumpton

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.

stinga

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.
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4