Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Get Rid of Paypal Express Button on Payment Page


rick9004

Recommended Posts

I am going to use the Paypal Website Payments Pro payment system. I only want to have Visa, MC and Amex as payment types. However there is a PayPal button on the page: checkout_payment.php which I wish to remove. I have used the Paypal mods to support this. The button also exists in the standard base code. THe button seems to be delivered as part of loop and not sure how to get rid of it. (I'm not a PHP person, rather a .NET developer)

 

Code in the area is:

 

<?php

for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) {

?>

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td>

</tr>

<?php

 

Thanks...

 

Rick

Regards,

 

Rick

Link to comment
Share on other sites

Read the PayPal Pro TOS, you are required to also offer PayPal Express

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...