diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java b/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java index a2db2971f..9ae5a416d 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java @@ -123,6 +123,8 @@ public class ClientRegisterInfo { private String averageCardTransaction; @JSONField(name = "mw_industry") private String mwIndustry; + @JSONField(name = "mc_industry") + private String mcIndustry; @JSONField(name = "enable_international_card") private boolean enableInternaltionCard; @JSONField(name = "enable_cross_payment") @@ -611,6 +613,10 @@ public class ClientRegisterInfo { return mwIndustry; } + public String getMcIndustry() { + return mcIndustry; + } + public void setAverageCardTransaction(String averageCardTransaction) { this.averageCardTransaction = averageCardTransaction; } @@ -627,6 +633,10 @@ public class ClientRegisterInfo { this.mwIndustry = mwIndustry; } + public void setMcIndustry(String mcIndustry) { + this.mcIndustry = mcIndustry; + } + public boolean isEnableCardPayment() { return enableCardPayment; } diff --git a/src/main/ui/static/commons/commons.js b/src/main/ui/static/commons/commons.js index fa5c8bdee..cd7f3f82b 100644 --- a/src/main/ui/static/commons/commons.js +++ b/src/main/ui/static/commons/commons.js @@ -15,6 +15,7 @@ define(['./app', './services/stateMap', './services/industryMap', './services/upayIndustryMap', + './services/upayMcc', './services/wechatGoodMcc', './services/sectorMap', './services/countryMap', diff --git a/src/main/ui/static/commons/services/upayMcc.js b/src/main/ui/static/commons/services/upayMcc.js new file mode 100644 index 000000000..de899bfb8 --- /dev/null +++ b/src/main/ui/static/commons/services/upayMcc.js @@ -0,0 +1,1285 @@ +define(['../app'], function (app) { + 'use strict'; + + var upayCode = [ + { + "label": "Veterinary Services", + "value": "0742" + }, + { + "label": "Agricultural Cooperatives", + "value": "0763" + }, + { + "label": "Landscaping and Horticultural Services", + "value": "0780" + }, + { + "label": "General Contractor/Residential Building", + "value": "1520" + }, + { + "label": "Heating, Plumbing, Air Conditioning Contractors", + "value": "1711" + }, + { + "label": "Electrical Contractors", + "value": "1731" + }, + { + "label": "Masonry, Stonework, Tile Setting, Plastering, Insulation Contractors", + "value": "1740" + }, + { + "label": "Carpentry", + "value": "1750" + }, + { + "label": "Roof, Siding, and Sheet Metal Work Contractors", + "value": "1761" + }, + { + "label": "Contractors, Concrete", + "value": "1771" + }, + { + "label": "Special Trade Contractor - Not Elsewhere Classified", + "value": "1799" + }, + { + "label": "Miscellaneous Publishing and Printing Services", + "value": "2741" + }, + { + "label": "Typesetting, Plate Making and Related Services (Business to Business MCC)", + "value": "2791" + }, + { + "label": "Specialty Cleaning, Polishing and Sanitation Preparations (Business to Business MCC)", + "value": "2842" + }, + { + "label": "Railroads", + "value": "4011" + }, + { + "label": "Local and Suburban Commuter Passenger Transportation, including Ferries", + "value": "4111" + }, + { + "label": "Passenger Rail (train)", + "value": "4112" + }, + { + "label": "Ambulance Services", + "value": "4119" + }, + { + "label": "Taxicabs and Limousines", + "value": "4121" + }, + { + "label": "Bus Lines, includes Charters/Tour Buses", + "value": "4131" + }, + { + "label": "Motor Freight Carriers and Trucking-Local and Long Distance, Moving & Storage Companies, and Local Delivery", + "value": "4214" + }, + { + "label": "Courier Services-Air and Ground, and Freight Forwarders", + "value": "4215" + }, + { + "label": "Public Warehousing-Farm products, Refrigerated Goods, Household Goods, and Storage", + "value": "4225" + }, + { + "label": "Steamship and Cruise Lines", + "value": "4411" + }, + { + "label": "Boat Rentals and Leasing", + "value": "4457" + }, + { + "label": "Marinas, Marine Service, and Supplies", + "value": "4468" + }, + { + "label": "Airlines and Air Carriers", + "value": "4511" + }, + { + "label": "Airports, Flying Fields, and Airport Terminals", + "value": "4582" + }, + { + "label": "Travel Agencies", + "value": "4722" + }, + { + "label": "Package Tour Operators (Germany Only)", + "value": "4723" + }, + { + "label": "Telemarketing of Travel Related Services and Vitamins", + "value": "4761" + }, + { + "label": "Bridge and Road Fees, Tolls", + "value": "4784" + }, + { + "label": "Transportation Services-not elsewhere classified", + "value": "4789" + }, + { + "label": "Telecommunication Equipment and Telephone Sales", + "value": "4812" + }, + { + "label": "Special Telecom Merchant", + "value": "4813" + }, + { + "label": "Telecommunication Services, Including Local and Long Distance Calls, Credit Card Calls, Call Through Use of Magnetic-Strip-Reading Telephones, and Fax Services", + "value": "4814" + }, + { + "label": "Monthly Summary Telephone Charges", + "value": "4815" + }, + { + "label": "Computer Network/Information Services and other Online Services such as electronic bulletin board, e-mail, web site hosting services, or Internet access", + "value": "4816" + }, + { + "label": "Telegraph Services", + "value": "4821" + }, + { + "label": "Quasi Cash - Money Transfer", + "value": "4829" + }, + { + "label": "Cable, Satellite, and Other Pay Television and Radio Services", + "value": "4899" + }, + { + "label": "Utilities-Electric, Gas, Water, and Sanitary", + "value": "4900" + }, + { + "label": "Motor Vehicle Supplies and New Parts (Business to Business MCC)", + "value": "5013" + }, + { + "label": "Office Furniture (Business to Business MCC)", + "value": "5021" + }, + { + "label": "Construction Materials Not Elsewhere Classified (Business to Business MCC)", + "value": "5039" + }, + { + "label": "Photographic, Photocopy, Microfilm Equipment and Supplies (Business to Business MCC)", + "value": "5044" + }, + { + "label": "Computers, Computer Peripheral Equipment, and Software", + "value": "5045" + }, + { + "label": "Commercial Equipment Not Elsewhere Classified (Business to Business MCC)", + "value": "5046" + }, + { + "label": "Dental/Laboratory/Medical/Ophthalmic Hospital Equipment and Supplies", + "value": "5047" + }, + { + "label": "Metal Service Centers and Offices (Business to Business MCC)", + "value": "5051" + }, + { + "label": "Electrical Parts and Equipment (Business to Business MCC)", + "value": "5065" + }, + { + "label": "Hardware, Plumbing, Heat Equipment and Supplies (Business to Business MCC)", + "value": "5072" + }, + { + "label": "Plumbing and Heating Equipment and Supplies (Business to Business MCC)", + "value": "5074" + }, + { + "label": "Industrial Supplies Not Elsewhere Classified (Business to Business MCC)", + "value": "5085" + }, + { + "label": "Precious Stones, Metals, Watches and Jewelry (Business to Business MCC)", + "value": "5094" + }, + { + "label": "Durable Goods Not Elsewhere Classified (Business to Business MCC)", + "value": "5099" + }, + { + "label": "Stationery, Office Supplies, and Printing and Writing Paper", + "value": "5111" + }, + { + "label": "Drugs, Drug Proprietary's, and Druggists' Sundries", + "value": "5122" + }, + { + "label": "Piece Goods, Notions and Other Dry Goods (Business to Business MCC)", + "value": "5131" + }, + { + "label": "Men's, Women's and Children's Uniforms (Business to Business MCC)", + "value": "5137" + }, + { + "label": "Commercial Footwear (Business to Business MCC)", + "value": "5139" + }, + { + "label": "Chemicals and Allied Products Not Elsewhere Classified (Business to Business MCC)", + "value": "5169" + }, + { + "label": "Petroleum and Products (Business to Business MCC)", + "value": "5172" + }, + { + "label": "Books, Periodicals and Newspapers (Business to Business MCC)", + "value": "5192" + }, + { + "label": "Florist Suppliers, Nursery Stock & Flowers (Business to Business MCC)", + "value": "5193" + }, + { + "label": "Paints, Varnishes and Supplies (Business to Business MCC)", + "value": "5198" + }, + { + "label": "Non-durable Goods Not Elsewhere Classified (Business to Business MCC)", + "value": "5199" + }, + { + "label": "Home Supply Warehouse", + "value": "5200" + }, + { + "label": "Lumber & Building Materials Stores", + "value": "5211" + }, + { + "label": "Glass, Paint, and Wallpaper Stores", + "value": "5231" + }, + { + "label": "Hardware Stores, Equipment Utilities Regulated", + "value": "5251" + }, + { + "label": "Nurseries and Lawn and Garden Supply Stores", + "value": "5261" + }, + { + "label": "Mobile Home Dealer", + "value": "5271" + }, + { + "label": "Wholesale Club with or without membership fee", + "value": "5300" + }, + { + "label": "Duty Free Stores", + "value": "5309" + }, + { + "label": "Discount Store", + "value": "5310" + }, + { + "label": "Department Stores", + "value": "5311" + }, + { + "label": "Variety Stores", + "value": "5331" + }, + { + "label": "Miscellaneous General Merchandise", + "value": "5399" + }, + { + "label": "Grocery Stores and Supermarkets", + "value": "5411" + }, + { + "label": "Freezer & Locker Meat Provisions", + "value": "5422" + }, + { + "label": "Candy, Nut, and Confectionary Stores", + "value": "5441" + }, + { + "label": "Dairy Product Stores", + "value": "5451" + }, + { + "label": "Bakeries", + "value": "5462" + }, + { + "label": "Miscellaneous Food Stores-Convenience Stores and Specialty Markets", + "value": "5499" + }, + { + "label": "Car and Truck Dealers (New and Used)- Sales, Service, Repairs, Parts, and Leasing", + "value": "5511" + }, + { + "label": "Car and Truck Dealers (Used)- Sales, Service, Repairs, Parts, and Leasing", + "value": "5521" + }, + { + "label": "Automotive Tire Stores", + "value": "5532" + }, + { + "label": "Auto and Home Supply Stores", + "value": "5531" + }, + { + "label": "Automotive Parts and Accessories Stores", + "value": "5533" + }, + { + "label": "Service Stations (with or without Ancillary Services)", + "value": "5541" + }, + { + "label": "Automated Fuel Dispensers", + "value": "5542" + }, + { + "label": "Boat Dealers", + "value": "5551" + }, + { + "label": "Camper, Recreational and Utility Trailer Dealers", + "value": "5561" + }, + { + "label": "Motorcycle Dealers", + "value": "5571" + }, + { + "label": "Motor Home Dealers", + "value": "5592" + }, + { + "label": "Snowmobile Dealers", + "value": "5598" + }, + { + "label": "Miscellaneous Automotive, Aircraft, and Farm Equipment Dealers --Not Elsewhere Classified", + "value": "5599" + }, + { + "label": "Men's & Boys' Clothing and Accessory Stores", + "value": "5611" + }, + { + "label": "Women's Ready-to-Wear Stores", + "value": "5621" + }, + { + "label": "Women's Accessory and Specialty Stores", + "value": "5631" + }, + { + "label": "Children's and Infants' Wear Stores", + "value": "5641" + }, + { + "label": "Family Clothing Stores", + "value": "5651" + }, + { + "label": "Sports and Riding Apparel Stores", + "value": "5655" + }, + { + "label": "Shoe Stores", + "value": "5661" + }, + { + "label": "Furriers & Fur Shops", + "value": "5681" + }, + { + "label": "Men's and Women's Clothing Stores", + "value": "5691" + }, + { + "label": "Tailors, Seamstresses, Mending, Alterations", + "value": "5697" + }, + { + "label": "Wig & Toupee Shops", + "value": "5698" + }, + { + "label": "Miscellaneous Apparel and Accessory Stores", + "value": "5699" + }, + { + "label": "Furniture, Home Furnishings, and Equipment Stores, except Appliances", + "value": "5712" + }, + { + "label": "Floor coverings, Rugs", + "value": "5713" + }, + { + "label": "Drapery, Window Covering, and Upholstery Stores", + "value": "5714" + }, + { + "label": "Fireplaces, Fireplace Screens and Accessories Stores", + "value": "5718" + }, + { + "label": "Miscellaneous Home Furnishing Specialty Stores", + "value": "5719" + }, + { + "label": "Household Appliance Stores", + "value": "5722" + }, + { + "label": "Electronics Stores", + "value": "5732" + }, + { + "label": "Music Stores-Musical Instruments, Pianos, and Sheet Music", + "value": "5733" + }, + { + "label": "Computer Software Stores", + "value": "5734" + }, + { + "label": "Record Stores", + "value": "5735" + }, + { + "label": "Caterers - Prepare & Delivery", + "value": "5811" + }, + { + "label": "Eating Places and Restaurants", + "value": "5812" + }, + { + "label": "Drinking Places (Alcoholic Beverages) - Bars, Taverns, Nightclubs, Cocktail Lounges, and Discotheques", + "value": "5813" + }, + { + "label": "Quick Payment Service-Fast Food Restaurants", + "value": "5814" + }, + { + "label": "Digital Goods – Media, Books, Movies, Music ", + "value": "5815" + }, + { + "label": "Digital Goods – Games ", + "value": "5816" + }, + { + "label": "Digital Goods – Applications (Excludes Games) ", + "value": "5817" + }, + { + "label": "Large Digital Goods Merchant ", + "value": "5818" + }, + { + "label": "Drug Stores and Pharmacies", + "value": "5912" + }, + { + "label": "Package Stores--Beer, Wine, and Liquor", + "value": "5921" + }, + { + "label": "Used Merchandise and Secondhand Stores", + "value": "5931" + }, + { + "label": "Antique Shop", + "value": "5932" + }, + { + "label": "Pawn Shop", + "value": "5933" + }, + { + "label": "Wrecking and Salvage Yards", + "value": "5935" + }, + { + "label": "Antique Reproduction Stores", + "value": "5937" + }, + { + "label": "Bicycle Shop-Sales and Services", + "value": "5940" + }, + { + "label": "Sporting Goods Stores", + "value": "5941" + }, + { + "label": "Book Stores", + "value": "5942" + }, + { + "label": "Stationery, Office and School Supply Stores", + "value": "5943" + }, + { + "label": "Jewelry, Watch, Clock, and Silverware Stores", + "value": "5944" + }, + { + "label": "Hobby, Toy and Game Stores", + "value": "5945" + }, + { + "label": "Camera and Photographic Supply Stores", + "value": "5946" + }, + { + "label": "Gift, Card, Novelty, and Souvenir Stores", + "value": "5947" + }, + { + "label": "Luggage and Leather Goods Stores", + "value": "5948" + }, + { + "label": "Sewing, Needlework, Fabric, and Piece Good Stores", + "value": "5949" + }, + { + "label": "Glassware and Crystal Stores", + "value": "5950" + }, + { + "label": "Direct Marketing Insurance Services", + "value": "5960" + }, + { + "label": "Mail Order", + "value": "5961" + }, + { + "label": "Direct Marketing -- Travel Related Arrangement Services", + "value": "5962" + }, + { + "label": "Direct Selling Establishments/Door to Door Sales", + "value": "5963" + }, + { + "label": "Catalog Merchant", + "value": "5964" + }, + { + "label": "Combined Catalog and Retail Merchant", + "value": "5965" + }, + { + "label": "Outbound Telemarketing Merchant", + "value": "5966" + }, + { + "label": "Direct Marketing -- Inbound Telemarketing Merchants", + "value": "5967" + }, + { + "label": "Continuity/Subscription Merchants", + "value": "5968" + }, + { + "label": "Direct Marketing/Direct Marketers--Not Elsewhere Classified", + "value": "5969" + }, + { + "label": "Artist Supply and Craft Stores", + "value": "5970" + }, + { + "label": "Art Dealers and Galleries", + "value": "5971" + }, + { + "label": "Stamp and Coin Stores", + "value": "5972" + }, + { + "label": "Religious Goods Stores", + "value": "5973" + }, + { + "label": "Hearing Aids--Sales, Service, and Supplies", + "value": "5975" + }, + { + "label": "Orthopedic Goods and Prosthetic Devices", + "value": "5976" + }, + { + "label": "Cosmetic Stores", + "value": "5977" + }, + { + "label": "Typewriter Stores--Sales, Service, and Rentals", + "value": "5978" + }, + { + "label": "Fuel Dealers--Fuel Oil, Wood, Coal, and Liquefied Petroleum", + "value": "5983" + }, + { + "label": "Florists", + "value": "5992" + }, + { + "label": "Cigar Stores & Stands", + "value": "5993" + }, + { + "label": "News Dealers & Newsstands", + "value": "5994" + }, + { + "label": "Pet Shops, Pet Food, and Supplies", + "value": "5995" + }, + { + "label": "Swimming Pools--Sales, Supplies, and Services", + "value": "5996" + }, + { + "label": "Electric Razor Stores Sales & Services", + "value": "5997" + }, + { + "label": "Tent and Awning Stores", + "value": "5998" + }, + { + "label": "Miscellaneous & Specialty Retail Stores", + "value": "5999" + }, + { + "label": "Financial Institutions--Manual Cash Disbursements", + "value": "6010" + }, + { + "label": "Financial Institutions--Automated Cash Disbursements", + "value": "6011" + }, + { + "label": "Quasi Cash - Financial Institution - Merchandise and Services", + "value": "6012" + }, + { + "label": "Quasi Cash - Member Financial Institution", + "value": "6050" + }, + { + "label": "MasterCard - Quasi Cash-Merchant", + "value": "6051" + }, + { + "label": "Visa - Non-Financial Institutions - Foreign Currency, Money Orders(not wire Transfer), & Travelers Cheques", + "value": "" + }, + { + "label": "Securities - Brokers and Dealers", + "value": "6211" + }, + { + "label": "Insurance Sales and Underwriting", + "value": "6300" + }, + { + "label": "Insurance - Premiums", + "value": "6381" + }, + { + "label": "Insurance - Not Elsewhere Classified", + "value": "6399" + }, + { + "label": "Real Estate Agents and Managers - Rentals; Property Management", + "value": "6513" + }, + { + "label": "Remote Stored Value Load - Member Financial Institution", + "value": "6529" + }, + { + "label": "Remote Stored Value Load - Merchant", + "value": "6530" + }, + { + "label": "Payment Service Provider", + "value": "6531" + }, + { + "label": "Payment Transaction - Member", + "value": "6532" + }, + { + "label": "Payment Transaction - Merchant", + "value": "6533" + }, + { + "label": "Money Transfer - Member Financial Institution", + "value": "6534" + }, + { + "label": "Value Purchase - Member Financial Institution", + "value": "6535" + }, + { + "label": "MoneySend Intracountry", + "value": "6536" + }, + { + "label": "MoneySend Intercountry", + "value": "6537" + }, + { + "label": "MoneySend Funding ", + "value": "6538" + }, + { + "label": "POI Funding Transactions (Excluding MoneySend)", + "value": "6540" + }, + { + "label": "Lodging - Hotels, Motels, and Resorts", + "value": "7011" + }, + { + "label": "Timeshares", + "value": "7012" + }, + { + "label": "Sporting and Recreational Camps", + "value": "7032" + }, + { + "label": "Trailer Parks and Campgrounds", + "value": "7033" + }, + { + "label": "Laundry, Cleaning, and Garment Services", + "value": "7210" + }, + { + "label": "Laundry Services - Family and Commercial", + "value": "7211" + }, + { + "label": "Dry Cleaners", + "value": "7216" + }, + { + "label": "Carpet and Upholstery Cleaning", + "value": "7217" + }, + { + "label": "Photographic Studios", + "value": "7221" + }, + { + "label": "Beauty and Barber Shops", + "value": "7230" + }, + { + "label": "Shoe Repair Shops, Shoe Shine Parlors, and Hat Cleaning Shops", + "value": "7251" + }, + { + "label": "Funeral Services and Crematories", + "value": "7261" + }, + { + "label": "Dating Services", + "value": "7273" + }, + { + "label": "Tax Preparation Services", + "value": "7276" + }, + { + "label": "Counseling Services - Debt, Marriage, and Personal", + "value": "7277" + }, + { + "label": "Buying and Shopping Services and Clubs", + "value": "7278" + }, + { + "label": "Clothing Rental - Costumes, Uniforms and Formal Wear", + "value": "7296" + }, + { + "label": "Massage Parlors", + "value": "7297" + }, + { + "label": "Health and Beauty Spas", + "value": "7298" + }, + { + "label": "Miscellaneous Personal Services - Not Elsewhere Classified", + "value": "7299" + }, + { + "label": "Advertising Services", + "value": "7311" + }, + { + "label": "Consumer Credit Reporting Agencies", + "value": "7321" + }, + { + "label": "Blueprinting and Photocopying Services", + "value": "7332" + }, + { + "label": "Commercial Photography, Art, and Graphics", + "value": "7333" + }, + { + "label": "Quick Copy, Reproduction Service", + "value": "7338" + }, + { + "label": "Stenographic Service", + "value": "7339" + }, + { + "label": "Exterminating and Disinfecting Services", + "value": "7342" + }, + { + "label": "Cleaning, Maintenance & Janitorial Services", + "value": "7349" + }, + { + "label": "Employment Agencies and Temporary Help Services", + "value": "7361" + }, + { + "label": "Computer Programming, Data Processing, and Integrated Systems Design Services", + "value": "7372" + }, + { + "label": "Information Retrieval Services (Business to Business MCC)", + "value": "7375" + }, + { + "label": "Computer Maintenance, Repair and Services (Business to Business MCC)", + "value": "7379" + }, + { + "label": "Management, Consulting, and Public Relations Services", + "value": "7392" + }, + { + "label": "Detective Agencies, Protective Agencies, and Security Services, including Armored Cars and Guard Dogs", + "value": "7393" + }, + { + "label": "Equipment, Tool, Furniture, and Appliance Rental and Leasing", + "value": "7394" + }, + { + "label": "Photofinishing Laboratories and Photo Developing", + "value": "7395" + }, + { + "label": "Business Services", + "value": "7399" + }, + { + "label": "Truck Stops", + "value": "7511" + }, + { + "label": "Automobile Rental Agency", + "value": "7512" + }, + { + "label": "Truck and Utility Trailer Rentals", + "value": "7513" + }, + { + "label": "Motor Home and Recreational Vehicle Rentals", + "value": "7519" + }, + { + "label": "Parking Lots and Garages", + "value": "7523" + }, + { + "label": "Express Payment Service Mechants - Parking Lots and Garages", + "value": "7524" + }, + { + "label": "Automotive Top & Body Shops", + "value": "7531" + }, + { + "label": "Tire Retreading & Repair", + "value": "7534" + }, + { + "label": "Automotive Paint Shops", + "value": "7535" + }, + { + "label": "Automotive Service Shops (Non-Dealer)", + "value": "7538" + }, + { + "label": "Car Washes", + "value": "7542" + }, + { + "label": "Towing Services", + "value": "7549" + }, + { + "label": "Electronic Repair Shops", + "value": "7622" + }, + { + "label": "Air Conditioning and Refrigeration Repair Shops", + "value": "7623" + }, + { + "label": "Electrical and Small Appliance Repair Shops", + "value": "7629" + }, + { + "label": "Watch, Clock, and Jewelry Repair Shops", + "value": "7631" + }, + { + "label": "Furniture - Reupholster, Repair, and Refinishing", + "value": "7641" + }, + { + "label": "Welding Services", + "value": "7692" + }, + { + "label": "Miscellaneous Repair Shops and Related Services", + "value": "7699" + }, + { + "label": "Citishare Cash Advance", + "value": "7778" + }, + { + "label": "Government-Owned Lotteries ", + "value": "7800" + }, + { + "label": "Government-Licensed Casinos (Online Gambling) ", + "value": "7801" + }, + { + "label": "Government-Licensed Horse/Dog Racing ", + "value": "7802" + }, + { + "label": "Motion Picture & Video Tape Production and Distribution (Business to Business MCC)", + "value": "7829" + }, + { + "label": "Motion Picture Theater", + "value": "7832" + }, + { + "label": "DVD/Video Tape Rental Stores", + "value": "7841" + }, + { + "label": "Dance Halls, Studios & Schools", + "value": "7911" + }, + { + "label": "Theatrical Producers (except Motion Pictures) and Ticket Agencies", + "value": "7922" + }, + { + "label": "Bands, Orchestras & Misc Entertainment", + "value": "7929" + }, + { + "label": "Billiards & Pool Establishments", + "value": "7932" + }, + { + "label": "Bowling Alleys", + "value": "7933" + }, + { + "label": "Commercial Sports, Professional Sports Clubs, Athletic Fields, and Sports Promoters", + "value": "7941" + }, + { + "label": "Tourist Attractions and Exhibits", + "value": "7991" + }, + { + "label": "Public Golf Courses", + "value": "7992" + }, + { + "label": "Video Amusement Game Supply", + "value": "7993" + }, + { + "label": "Video Game Arcades and Establishments", + "value": "7994" + }, + { + "label": "Betting, including Lottery Tickets, Casino Gaming Chips, Off- Track Betting, and Wagers at Race Track", + "value": "7995" + }, + { + "label": "Amusement Parks, Circuses, Carnivals, and Fortune Tellers", + "value": "7996" + }, + { + "label": "Membership Clubs (Sports, Recreation, Athletic), Country Clubs, and Private Golf Courses", + "value": "7997" + }, + { + "label": "Aquarium, Seaquarium, Dolphinariums", + "value": "7998" + }, + { + "label": "Recreation Services - Not Elsewhere Classified", + "value": "7999" + }, + { + "label": "Doctors and Physicians - Not Elsewhere Classified", + "value": "8011" + }, + { + "label": "Dentists and Orthodontists", + "value": "8021" + }, + { + "label": "Osteopathic Physicians", + "value": "8031" + }, + { + "label": "Chiropractors", + "value": "8041" + }, + { + "label": "Optometrists and Ophthalmologists", + "value": "8042" + }, + { + "label": "Opticians, Optical Goods and Eyeglasses", + "value": "8043" + }, + { + "label": "Podiatrists and Chiropodists", + "value": "8049" + }, + { + "label": "Nursing and Personal Care Facilities", + "value": "8050" + }, + { + "label": "Hospitals", + "value": "8062" + }, + { + "label": "Medical and Dental Laboratories", + "value": "8071" + }, + { + "label": "Medical Services Health Practitioners - No Elsewhere Classified", + "value": "8099" + }, + { + "label": "Legal Services and Attorneys", + "value": "8111" + }, + { + "label": "Elementary and Secondary Schools", + "value": "8211" + }, + { + "label": "Colleges, Universities, Professional Schools, and Junior Colleges", + "value": "8220" + }, + { + "label": "Correspondence Schools", + "value": "8241" + }, + { + "label": "Business and Secretarial Schools", + "value": "8244" + }, + { + "label": "Trade and Vocational Schools", + "value": "8249" + }, + { + "label": "Schools and Educational Services - Not Elsewhere Classified", + "value": "8299" + }, + { + "label": "Child Care Services", + "value": "8351" + }, + { + "label": "Charitable and Social Service Organizations", + "value": "8398" + }, + { + "label": "Civic, Social, and Fraternal Associations", + "value": "8641" + }, + { + "label": "Political Organizations", + "value": "8651" + }, + { + "label": "Religious Organizations", + "value": "8661" + }, + { + "label": "Automobile Associations", + "value": "8675" + }, + { + "label": "Membership Organizations - Not Elsewhere Classified", + "value": "8699" + }, + { + "label": "Testing Laboratories (Not Medical) - (Business to Business MCC)", + "value": "8734" + }, + { + "label": "Architectural, Engineering, and Surveying Services", + "value": "8911" + }, + { + "label": "Accounting, Auditing, and Bookkeeping Services", + "value": "8931" + }, + { + "label": "Professional Services - Not Elsewhere Classified", + "value": "8999" + }, + { + "label": "Court Costs, including Alimony and Child Support", + "value": "9211" + }, + { + "label": "Fines", + "value": "9222" + }, + { + "label": "Bail & Bond Payments", + "value": "9223" + }, + { + "label": "Tax Payments", + "value": "9311" + }, + { + "label": "Government Services - Not Elsewhere Classified", + "value": "9399" + }, + { + "label": "i-Purchasing", + "value": "9401" + }, + { + "label": "Postal Services", + "value": "9402" + }, + { + "label": "U.S. Fed Government Agencies", + "value": "9405" + }, + { + "label": "Automated Referral Service", + "value": "9700" + }, + { + "label": "Visa Credential Server", + "value": "9701" + }, + { + "label": "GCAS Emergency Services", + "value": "9702" + }, + { + "label": "U.K. Supermarkets, Electronic Hot File", + "value": "9751" + }, + { + "label": "U.K. Petrol Stations, Electronic Hot File", + "value": "9752" + }, + { + "label": "Consumer Electronics/Furniture Store", + "value": "9753" + }, + { + "label": "Quasi Cash - Gambling-Horse Racing, Dog Racing, State Lotteries", + "value": "9754" + }, + { + "label": "Intra-Company Purchases", + "value": "9950" + } + ]; + app.factory('upayMcc', function () { + return { + configs: function () { + return upayCode; + } + } + }); +}); diff --git a/src/main/ui/static/payment/partner/add-partner.js b/src/main/ui/static/payment/partner/add-partner.js index 18d2c8318..7e036a768 100644 --- a/src/main/ui/static/payment/partner/add-partner.js +++ b/src/main/ui/static/payment/partner/add-partner.js @@ -32,7 +32,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter } }) }]); - app.controller('addPartnerCtrl', ['$rootScope', '$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'businessStructuresMap', 'upayIndustryMap', 'industryMap', 'stateMap', 'sectorMap', 'countryMap','wechatGoodMcc','$filter', function ($rootScope, $scope, $http, $state, Upload, commonDialog, timezone, businessStructuresMap, upayIndustryMap, industryMap, stateMap, sectorMap, countryMap,wechatGoodMcc,$filter) { + app.controller('addPartnerCtrl', ['$rootScope', '$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'businessStructuresMap', 'upayIndustryMap','upayMcc', 'industryMap', 'stateMap', 'sectorMap', 'countryMap','wechatGoodMcc','$filter', function ($rootScope, $scope, $http, $state, Upload, commonDialog, timezone, businessStructuresMap, upayIndustryMap, upayMcc, industryMap, stateMap, sectorMap, countryMap,wechatGoodMcc,$filter) { if ($scope.partner_application) { $scope.partner = angular.copy($scope.partner_application); delete $rootScope.partner_application; @@ -172,6 +172,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter $scope.industries = industryMap.configs(); $scope.wechatMccIndustries = wechatGoodMcc.configs(); $scope.upayIndustrys = upayIndustryMap.configs(); + $scope.upayMccs = upayMcc.configs(); $scope.states = stateMap.configs(); $scope.countries = countryMap.configs(); $scope.sectors = sectorMap.configs(); @@ -472,10 +473,11 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter } } }]); - app.controller('partnerEditCtrl2', ['$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'partner','upayIndustryMap','wechatGoodMcc','$filter', - function ($scope, $http, $state, Upload, commonDialog, timezone, partner,upayIndustryMap,wechatGoodMcc,$filter) { + app.controller('partnerEditCtrl2', ['$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'partner','upayIndustryMap','upayMcc','wechatGoodMcc','$filter', + function ($scope, $http, $state, Upload, commonDialog, timezone, partner,upayIndustryMap,upayMcc,wechatGoodMcc,$filter) { $scope.upayIndustrys = upayIndustryMap.configs(); + $scope.upayMccs = upayMcc.configs(); $scope.timezones = timezone.configs(); $scope.wechatMccIndustries = wechatGoodMcc.configs(); $scope.partner = partner.data; diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index 2475ecc50..ab097f6bc 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -1177,7 +1177,9 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter 'commonDialog', 'partner', '$sce', - function ($scope, $http, $state, $uibModal, $rootScope, Upload, commonDialog, partner, $sce) { + 'upayMcc', + function ($scope, $http, $state, $uibModal, $rootScope, Upload, commonDialog, partner, $sce,upayMcc) { + $scope.upayMccs = upayMcc.configs(); $scope.init = { wechat_compliance: false, local_merchant: false } $scope.partner = partner.data $scope.isComplianceOfCompanyName = false diff --git a/src/main/ui/static/payment/partner/templates/add_partner.html b/src/main/ui/static/payment/partner/templates/add_partner.html index 95308a108..97e3f3fe2 100644 --- a/src/main/ui/static/payment/partner/templates/add_partner.html +++ b/src/main/ui/static/payment/partner/templates/add_partner.html @@ -1363,6 +1363,24 @@ +
Required + Field
+Required + Field
+