Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I had a major problem where virtually all of my PayPal sales were staying as PayPal IPN and not converting to "Pending" the reason being the customers were not clicking "Return to Merchant".

 

I added a little mod tonight and every single PayPal is being converted to "Pending" so I thought I would share it.

 

All it does is add some text above the confirm button before the customer is redirected to PayPal.

 

catalog/checkout_confirmation.php

 

find ..

 

echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "\n";

 

Add above ..

 

  if (strstr($order->info['payment_method'], 'PayPal')) echo '<div style="background-color: #fffafa; padding: 5px; align: center; border: 3px solid grey; color: red;">After you press the "PAY" button in PayPal, please ensure to click <br />"<b>RETURN TO MERCHANT</b>" or your order may not be updated!</div><br />';

 

Obviously change the style to your own if you wish.

 

If it helps anyone then it was worth the post.

Edited by thunderace

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...