Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Suggested Paypal IPN enhancement (Pablo)


sfatula

Recommended Posts

I would like to suggest you add the following logic to your Paypal IPN module.

 

In the language file for the payment module, add:

 

define ('MODULE_PAYMENT_PAYPALIPN_TEXT_WARNING', '<br><font size="+2">WARNING</font> - You *MUST* click on the "CONTINUE" button on the Paypal website when Paypal says your order has been processed. Otherwise, you will not receive an invoice until your order is shipped.');

 

Or some similar wording. The key is this can be modified by the user easy enough as it is in the language file.

 

In the payment/paypalipn.php file, add the following right before the end of the confirmation function:

 

return MODULE_PAYMENT_PAYPALIPN_TEXT_WARNING;

 

By doing this, you will only see this message if the payment method was Paypal. I saw from some other sites implementing Paypal, that they had a general warning on their confirmation page, but this makes the warning only come up when Paypal was the payment method, and also allows the user to change it for each language.

 

Just a thought. Obviously, not rocket science but possibly useful to those using this contribution.

Steve

Link to comment
Share on other sites

Hi Steve

 

The module is developed to avoid tell the customers to hit the PayPal Continue button.

 

The customer will receive an invoice as soon as the module receives the status=COMPLETED response from PayPal.

 

Best regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...