an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > How to add more than one offline payment options?
Last Post 9/10/2013 10:58:58 PM By lukezy. 7 replies.
7/20/2009 7:49:43 AM
bansal_db
Posts: 181
Joined: 4/13/2009
How to add more than one offline payment options?
Hey Luke,
 
I want to add more options to the offline payment. Right now there is only one option available which I am using as COD. I need to add Net terms like Net 7, Net 30 etc.
 
How would i add that?
 
Thanks
 
 
7/20/2009 11:10:19 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: How to add more than one offline payment options?
Take a look at the Offline payment provider. You can use it as an example and create a new Offline payment. It shouldn't be hard at all.
DotShoppingCart Staff
8/29/2013 3:48:01 AM
Todi
Posts: 3
Joined: 8/29/2013
Re: How to add more than one offline payment options?
Hi Luke,
 
I tried to add a new offline payment option(i have created 2 new classes "NewOfflinePaymentProvider" and "NewOfflinePaymentServiceConfigurationSection") based on Offline payment provider but, when i want ot integrate as part of DotShoppingcart payment system then  it looks to me like i have to modify "CheckoutPaymentTypeEnum" and recreate all classes that use this enumType (for example CheckoutPaymentType ).
 
My question is :
It is done like this or exist a shorter way?
 
Thanks
 
 
9/5/2013 10:48:24 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: How to add more than one offline payment options?
There is already offlien payment. Cannot you just use that instead of creating your own?
DotShoppingCart Staff
9/5/2013 11:55:38 PM
Todi
Posts: 3
Joined: 8/29/2013
Re: How to add more than one offline payment options?
Luke,
 
I am already using DotShoppingCart offline payment but i need a second offline payment thats why i need to add a new one.
 
Thanks 
Todi
9/6/2013 10:12:06 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: How to add more than one offline payment options?
Well, it is much hard to customize. You will need to touch all the admin payment management and store checkout modules. Ideally the current OfflinePayment module should support multiple offline display names. Is there any reason that you want to use more than one offline payments? Is it possible that you just show a generic name e.g. "Offline (Will contact by phone or email)". In reality you will need to collect funds offline anyway.
DotShoppingCart Staff
9/7/2013 2:12:20 AM
Todi
Posts: 3
Joined: 8/29/2013
Re: How to add more than one offline payment options?
Luke,
 
One offline payment for cash/bank is OK, but we need another offline payment for cash on delivery which works differentely.(The customer pays the product when it is delivered.)Any solution for this?
 
Thanks
Todi
9/10/2013 10:58:58 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: How to add more than one offline payment options?
Ok, I would suggest that you make change to OfflinePaymentProvider.cs to have it support multiple offline payment names. You will need to search code that are referencing OfflinePaymentProvider class and then make approprate changes.
DotShoppingCart Staff