Jump to content



Latest News: (loading..)

Need to restrict payment type by customer


  • Please log in to reply
3 replies to this topic

#1   totalnumpty

totalnumpty
  • Members
  • 243 posts
  • Real Name:Gaz
  • Gender:Male
  • Location:U.K.

Posted 20 March 2010 - 05:41 AM

Hi all

I've searched but didn't find an existing contrib for this, I'm hoping someone knows of one, or that someone who is a far better coder than me can pick the idea up and run with it.

Here's the situation - on one of my osCommerce stores I have a very wide range of payment options, from multiple options for bank deposit/transfer/TT etc through various online processors (AlertPay, MoneyBookers, NoChex, PayPal, ppPay, Google etc) to postal payments and wire transfers.

Generally there is no issue and they all work as well as can be expected, but now and them I get a PITA customer - you know the type, they select an offline payment method and when you follow up a few days later, asking where the payment is, they decide they want to use an online payment service instead - so you send them an (e.g.) PayPal money Request, they don't pay it, you remind them, they ignore it, and eventually you just delete the order and move on.  Then a few months later, they come back and repeat the entire self-same process.  Maybe doing it several times over a year.  You don't want to delete or block their account, because just maybe one day they'll actually complete the order, or they may have purchased and completed the transaction somewhere else with you (like eBay or Amazon) and on your osCommerce site, they class as a returning customer.

So here's what I want to do -

On this site, I've got the Admin Notes contrib installed, so I can at least record that they've done the runaround described above, but I'd like to take it a bit further.  Rather than block them completely, and obviously blocking the payment method for their tax zone is not a solution, I'd like to be able to prevent display of non-immediate payment methods for selective customers - ideally by way of some sort of "allowed / not allowed" checkbox list in the customers profile in admin.  This would allow the maximum flexibility of making the restrictions apply only to specifically selected customers.

I've no idea how to begin coding this, and very little about where such mods should be placed within osC, so I'm hoping someone can work with me and do the grunt coding, then use my site (and me) as a test bed and test installer.

Anyone interested?

Gaz
Wearing a seatbelt prevents head injuries when the computer crashes - - - Yeah Right!!! - not in this office.

#2   Jenica77

Jenica77
  • Members
  • 39 posts
  • Real Name:Jenica

Posted 26 April 2010 - 01:38 AM

I need to be able to do this as well. Did you ever find a solution? I'm using 2.2. though.

#3   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 26 April 2010 - 03:40 AM

You could possibly edit this contribution to enable the payment module you want for each customer.



http://addons.oscommerce.com/info/6324


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#4   Jenica77

Jenica77
  • Members
  • 39 posts
  • Real Name:Jenica

Posted 26 April 2010 - 01:38 PM

Thank you, I downloaded it and I'll check it out!