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
Rimian Perkins
ae3e67d385
add more stripe factories
2019-08-27 16:43:55 +10:00
Rimian Perkins
d4d62c5458
Stripe controller specs
...
* Get some of these to pass.
* skip some
I am going to refactor this anyway
2019-08-26 20:34:13 +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
35dd123264
fix tests
2017-11-26 12:41:39 +00:00
Rimian Perkins
9d2cd86f54
stripe service can create subscriptions
2017-05-23 12:28:07 +10:00
Rimian Perkins
e2a12a1b11
handle the response in the controller
2017-05-02 10:02:07 +10:00
Rimian Perkins
9c6cd58a59
do not grant badge if badges are disabled
2017-05-01 10:58:14 +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
c3fe90f4d1
empty rewards
2017-04-21 12:08:52 +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