Commit Graph

40 Commits

Author SHA1 Message Date
Selase Krakani 2babb43ffb
FEATURE: Skip product listing if only one product is present (#160)
At the moment, paying for a product typically involves first clicking
the subscribe link added to the navigation bar, selecting a product and
then adding card details to to make the purchase.

This change skips the product selection step if the site has only one
product.
2023-05-04 13:52:04 +00:00
Jarek Radosz 044c18e904
DEV: Fix more imports (#114) 2022-03-07 14:34:05 +01:00
Jarek Radosz 98c843b8f2
DEV: Fix imports (#113) 2022-03-07 00:30:01 +01:00
Jarek Radosz d6eaba632d
DEV: Lose the es6 suffix (#112) 2022-03-07 00:20:03 +01:00
Roman Rizzi 088b8d2239
REFACTOR: Use the new format for acceptance tests. (#37) 2021-01-04 16:32:33 -03:00
Justin DiRose a1a7ca98a3
DEV: Fix tests 2020-07-28 15:40:16 -05:00
Justin DiRose fb4fac197b
REFACTOR: Use models to store data (#11)
* REFACTOR: Use api to add subscribe link

* FIX: I18n subscribe link

* REFACTOR: Use models to store some data

This enables the plugin to show only subscription information which was
generated on Discourse. Subscription data storage is limited to the
external identifiers Stripe generates so we can interact with the API.

* DEV: Test/linting fixes/rake task
2020-05-22 11:20:05 -05:00
Rimian Perkins ae36c00fc0 test buttons show 2020-01-12 09:08:00 +11:00
Rimian Perkins 9902947e99 a bit more testing 2020-01-10 16:47:28 +11:00
Rimian Perkins 7e2d4595ca test the payment and subscribe page 2020-01-10 14:41:32 +11:00
Rimian Perkins ba43e9d977 name space tests 2020-01-10 14:24:39 +11:00
Rimian Perkins 80b721ddd8 rename some settings 2019-12-04 11:53:05 +11:00
Rimian Perkins ce600eec04 fix broken paths 2019-12-03 11:00:03 +11:00
Rimian Perkins e5ee7143ff problematic test 2019-11-13 08:36:38 +11:00
Rimian Perkins 1734abc1b9 product pretender 2019-11-12 11:03:04 +11:00
Rimian Perkins b566c437c7 skip unfinished test 2019-11-07 13:17:54 +11:00
Rimian Perkins dafa08f43e disable dashboard 2019-11-07 12:09:40 +11:00
Rimian Perkins a7e8bf46bc add setting to test 2019-11-07 11:30:40 +11:00
Rimian Perkins fcfb826929 create the token and make the customer request 2019-10-11 12:26:01 +11:00
Rimian Perkins bb31deae89 basic subscribe page 2019-10-10 13:52:55 +11:00
Rimian Perkins 2c6944e66e stub stripe and add pretender 2019-10-09 11:53:58 +11:00
Rimian Perkins c3e3b7ad67 rm acceptance test for now. Stripe is not defined 2019-09-12 09:39:23 +10:00
Rimian Perkins fb372703a2 try and get the js tests to actually run 2019-09-12 07:51:40 +10:00
Rimian Perkins abaf101173 initial spec for donation-row component 2019-08-26 17:34:40 +10:00
Rimian Perkins d0bdfab44b fix the test runner 2019-08-26 16:01:57 +10:00
Rimian Perkins 473df7bd60 Acceptance test runs without crashing 2019-08-25 11:55:32 +10:00
Rimian Perkins 9c72bccf3a fix acceptabce test for link 2017-03-14 12:43:11 +11:00
Rimian Perkins 97e4497cc8 acceptance test link 2017-02-24 13:09:27 +11:00
Rimian Perkins 23850afeb1 rename js test 2017-02-24 12:51:26 +11:00
Rimian Perkins de9a5cb6f9 stripe elements form submits a payment to stripe api 2017-02-16 16:29:42 +11:00
Rimian Perkins e1778d6bd8 sample ajax request 2017-02-15 14:10:52 +11:00
Rimian Perkins 259e7923d6 rename the qunit acceptance test 2017-02-15 11:48:40 +11:00
Rimian Perkins 4eef7131ed check payment link exists 2017-02-14 10:19:59 +11:00
Rimian Perkins 3f32c212d8 rename to "payments" 2017-02-14 10:11:10 +11:00
Rimian Perkins ed828a228b a response happened and there is a test 2017-02-13 15:31:31 +11:00
Rimian Perkins e32e7b9def fix assertion 2017-02-13 13:50:48 +11:00
Rimian Perkins 800aef7b3f acceptacnce test verifies page renders 2017-02-13 11:35:59 +11:00
Rimian Perkins c0529c5bdb a child page at user/:username/choice 2017-02-10 15:10:47 +11:00
Rimian Perkins 02d15d486a initial form 2017-02-07 14:23:38 +11:00
Rimian Perkins 8d7b50a7ae inital empty page 2017-02-07 13:56:22 +11:00