Blake Erickson
23bfa1b567
FIX: Exclude blocked charges in campaign total ( #96 )
...
The campaign total should only include payments that have succeeded.
See: https://meta.discourse.org/t/209591/14
2021-11-25 08:11:52 -07:00
Blake Erickson
c6c5ed2ed3
FIX: Include one-time purchases in campaign total ( #95 )
...
* FIX: Include one-time purchases in campaign total
On the subscription banner that shows on the top of the forum it shows
the total amount raised toward a goal. But the amount shown was not
including one-time purchases. It was only showing subscriptions.
This change updates the sync with stripe logic so that it also includes
one-time purchases.
See: https://meta.discourse.org/t/-/209591
* rubocop: remove extra blank line
2021-11-22 12:46:40 -07:00
Justin DiRose
6414a1f6e5
FEATURE: Show/hide campaign banner with goal status ( #85 )
2021-07-15 15:05:27 -05:00
Justin DiRose
f596a0f78a
FEATURE: Campaigns ( #67 )
...
Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com>
See https://github.com/discourse/discourse-subscriptions/pull/67 for the full description.
2021-06-02 13:15:03 -05:00
Rimian Perkins
78914e0511
Add new plugin files.
...
This gets the plugin running again without name collisions. A solid starting point
2019-09-11 13:19:07 +10:00
Rimian Perkins
6f826ce7a0
rubocop correct
2019-08-27 20:04:02 +10:00
Angus McLeod
c857e020a2
bugfix
2019-01-29 15:00:42 +11:00
Angus McLeod
fc08f8f654
bugfix
2018-10-29 08:59:59 +11:00
Angus McLeod
45ece34200
Add donations causes
2018-09-22 14:03:30 +10:00
Angus McLeod
1b1eb215e4
various
2018-06-28 09:32:58 +10:00
Angus McLeod
8453d5cc03
various
2018-06-25 18:14:50 +10:00
Angus McLeod
d55d149d7d
Add recurring donations
2018-06-21 19:00:43 +10:00
Angus McLeod
ccf7f1b73b
Save and reuse stripe customer id when user is present
2018-02-02 16:06:43 +08:00
Chris Beach
df91a44277
fix client/server messages and locales
...
zip code should be a positive boolean not negative
remove dollar signs
fix stripe.rb method signature and charging logic
2017-11-26 12:24:27 +00:00
Chris Beach
d563cd1ddd
Working checkout_controller.rb that charges Stripe
...
* Add billing address setting
2017-10-19 23:51:05 +01:00
Chris Beach
05a2629f8c
Add checkout method
2017-10-19 23:51:05 +01:00
Rimian Perkins
9d2cd86f54
stripe service can create subscriptions
2017-05-23 12:28:07 +10:00
Rimian Perkins
e875b17be2
no name collisions
2017-05-08 14:37:19 +10:00
Rimian Perkins
e2a12a1b11
handle the response in the controller
2017-05-02 10:02:07 +10:00
Rimian Perkins
a9d59d721f
attr_reader is better
2017-05-02 09:47:23 +10:00
Rimian Perkins
0a87d8274f
only grant badge when they are enabled
2017-05-01 11:32:59 +10:00
Rimian Perkins
9c6cd58a59
do not grant badge if badges are disabled
2017-05-01 10:58:14 +10:00
Rimian Perkins
45501a0ca3
initial empty job
2017-04-27 13:34:48 +10:00
Rimian Perkins
d5c10de4c6
log adding the user to a group
2017-04-24 12:49:52 +10:00
Rimian Perkins
061ea69434
add the user to a group
2017-04-24 11:44:55 +10:00
Rimian Perkins
f383a0c4f9
add rewards to response
2017-04-21 14:26:53 +10:00
Rimian Perkins
b2393cb2aa
add the current user to a group when the payment is successful
2017-04-21 10:26:43 +10:00
Rimian Perkins
e09b852361
normalize the message from stripe
2017-04-20 11:09:59 +10:00
Rimian Perkins
0d078c6131
the message
2017-04-19 10:43:40 +10:00
Rimian Perkins
81a42af4d9
fix improper param key
2017-04-07 03:22:53 +10:00
Rimian Perkins
316dc61af5
add discourse stripe service
2017-04-06 14:16:05 +10:00