495 Commits

Author SHA1 Message Date
Daniel Camargo
26b0273bae partial #2260 - 2 cent difference between actual price of order and what we charge 2014-01-03 11:16:41 -02:00
Daniel Camargo
cb4342de11 partial #1660 2013-12-23 17:20:26 -02:00
Daniel Camargo
518f302ebb partial #2243 - add the ability to pay using stripe or balanced in the order.php
Updated the Stripe API (php) to the new version (from 1.7.2 to 1.10.1).

Updated the keys (public and secret) of the test env (config.xml). I was afraid to change it from the live one.

I changed the way the user_payment_type was working.
Now the user will be able to have two actives payment types, one for stripe and another for balanced.

When you call the method Crunchbutton_User_Payment_Type::getUserPaymentType() it will return the active payment type for the current processor.

I have also created this method Crunchbutton_User_Payment_Type::processor() returns the current processor type and replaced all the calls from c::config()->processor to this method. That way if we decide to put this data at config’s table we will have to just change this method. Or even is we need to use the processor type that is previously stored that will be easy too.

I created two new files tokenizeCard.stripe.js and tokenizeCard.balanced.js and moved the method App.tokenizeCard to these files
2013-12-18 14:43:22 -02:00
Daniel Camargo
9f53bd6414 partial #2242 - separate user and payment type table 2013-12-17 15:00:03 -02:00
Daniel Camargo
f5b1040fdb partial #2242 - separate user and payment type table 2013-12-17 14:50:20 -02:00
Daniel Camargo
04c805ff8e partial #1580 - allow gift card orders to be "refunded" 2013-12-16 16:25:20 -02:00
Daniel Camargo
bca4da86d7 partial #2096 - change how order at and expected by are shown on order page 2013-12-12 15:54:05 -02:00
Daniel Camargo
b728c73e71 partial #2220 - Add Fields to Excel Exporter for Payment Overhaul 2013-12-10 09:11:30 -02:00
Daniel Camargo
9e38cd259d partial #2220 - Add Fields to Excel Exporter for Payment Overhaul 2013-12-06 11:24:22 -02:00
arzynik
11c429fe8f partial #1944 2013-12-02 14:16:47 -08:00
Daniel Camargo
0dd2f95d41 partial #1944 - discover where blank users are coming from 2013-11-26 15:27:51 -02:00
Daniel Camargo
60af9fb5c4 partial #1625 - pressing 2 after receiving confirmation call resends a duplicate text to the customer - removed tests 2013-11-26 12:38:36 -02:00
Daniel Camargo
ca1604b9ef partial #1625 - pressing 2 after receiving confirmation call resends a duplicate text to the customer 2013-11-26 12:33:10 -02:00
Daniel Camargo
ba9aad7b24 partial #1625 - pressing 2 after receiving confirmation call resends a duplicate text to the customer 2013-11-26 12:29:49 -02:00
Daniel Camargo
fba8d7f799 partial #1625 - pressing 2 after receiving confirmation call resends a duplicate text to the customer - testing 2013-11-26 12:23:31 -02:00
Daniel Camargo
b3eabed3fa partial #1625 - pressing 2 after receiving confirmation call resends a duplicate text to the customer 2013-11-26 12:16:53 -02:00
Daniel Camargo
12049ed762 partial #1625 - pressing 2 after receiving confirmation call resends a duplicate text to the customer - testing at beta 2013-11-26 12:01:34 -02:00
Daniel Camargo
2386805b18 partial #2143 - cron to renotivy reps if no one accepts 2013-11-22 14:27:42 -02:00
Daniel Camargo
d3feed8b05 partial #2141 - change how rep notification works - added config keys and changed the sms message 2013-11-22 09:12:25 -02:00
Daniel Camargo
970dc02278 partial #2141 - change how rep notification works - added the notification stuff 2013-11-21 17:38:28 -02:00
arzynik
00958371e0 fixed named 2013-11-20 23:33:22 -08:00
arzynik
6eea1934df fixes crunchbutton/issues#3 2013-11-20 21:04:50 -08:00
pererinha
48ef67ae31 partial #2032 - fixed the calc
make "Customer fee'" in restaurant cockpit increase the food items' prices by that percentage and not display "$1.60 fee" in calculations at bottom of (1st time user and return user) restaurant page
2013-11-18 14:28:59 -02:00
pererinha
be38729dce partial #2032 - make "Customer fee'" in restaurant cockpit increase the food items' prices by that percentage and not display "$1.60 fee" in calculations at bottom of (1st time user and return user) restaurant page 2013-11-18 13:53:37 -02:00
arzynik
970859c44b fixes #245 2013-11-14 13:13:30 -08:00
pererinha
0c3049b048 partial #2022 - added browser info at orders page 2013-11-14 17:08:26 -02:00
pererinha
87ae378292 partial #2022 - add user agent orders to track devices 2013-11-14 16:01:12 -02:00
pererinha
214919a64b partial #1857 - track platform per order for stats 2013-11-14 15:06:59 -02:00
arzynik
281c0b6d99 exposed restaurant address 2013-11-14 00:11:41 -08:00
arzynik
aafb9af6ca partial for #2074 2013-11-13 16:21:51 -08:00
arzynik
ae3fbc4eb4 facebook now used the same order description as summary 2013-11-12 20:16:37 -08:00
arzynik
1fbc7149b6 added order sumamry 2013-11-12 11:06:47 -08:00
Daniel Camargo
637a8acbd1 partial #2033 - Calculate paying delivery drivers 2013-11-11 17:53:06 -02:00
Daniel Camargo
a7eab55b5c Removed the "order not confirmed" texts that were send to CS 2013-11-07 16:41:50 -02:00
Daniel Camargo
7e10a97e87 partial #2006 - changed the config.xml to test it at beta 2013-11-07 14:53:46 -02:00
Daniel Camargo
a748177e96 partial #2006 - alert Nick and David if a user places 2 or more orders in a row 2013-11-06 18:19:29 -02:00
Daniel Camargo
19eb707876 permission to reps edit support tickets 2013-11-04 17:53:35 -02:00
Daniel Camargo
581a4200fc created the new users (last users) to reps 2013-11-04 15:32:10 -02:00
arzynik
ea5661ec79 removed time machine. partial #1955 2013-10-14 13:43:09 -07:00
arzynik
9bc74d5529 allow beta to show as beta in env db 2013-10-08 14:19:50 -07:00
arzynik
4b4058e77f added debug users 2013-10-08 14:03:31 -07:00
Daniel Camargo
c847f422c5 partial #1860 2013-10-02 10:49:29 -03:00
arzynik
a7a429c59e fixes #1822 2013-09-26 12:09:35 -07:00
Daniel Camargo
2165b8a80e partial #1737 2013-09-13 16:54:10 -03:00
Daniel Camargo
524910efa0 partial #1715 2013-09-11 13:07:20 -03:00
Daniel Camargo
79eda274a0 partial #1704 2013-09-10 19:29:00 -03:00
Daniel Camargo
57e09d0325 viral invite feature 2013-08-28 19:38:43 -03:00
Daniel Camargo
dd60059b89 viral invite feature 2013-08-27 16:19:12 -03:00
Daniel Camargo
39071fb332 partial #1437 2013-08-26 17:13:21 -03:00
Daniel Camargo
a59500866d partial #1615 2013-08-22 14:27:08 -03:00