Commit Graph

  • eb7cb02f33 Namespace stripe webhook controller in Stripe module Rob Harrington 2017-10-12 13:58:53 +11:00
  • f22dd7513d Add a service object for handling Stripe webhooks Rob Harrington 2017-10-11 17:50:46 +11:00
  • c54119f482 Rename stripe controller action from 'deauthorize' to 'webhook' Rob Harrington 2017-10-11 17:11:02 +11:00
  • 23d2b3a664 Move Stripe webhook logic into dedicated frontend controller Rob Harrington 2017-10-11 16:38:19 +11:00
  • c747bb5305 Remove improper use of quick_login_as_admin from unit spec Rob Harrington 2017-10-11 15:51:16 +11:00
  • d147d2035d Disable symbol array cop Matt-Yorkley 2017-10-07 11:50:59 +01:00
  • 4dd71c1240 Add CSS workaround to display repeated table head Maikel Linke 2017-10-06 15:48:44 +11:00
  • 6ad7c7b835 Tidy up HTML indent Maikel Linke 2017-09-22 15:47:28 +10:00
  • 10bbc5f9ef Hide the menu on embedded group pages Maikel Linke 2017-09-20 16:16:44 +10:00
  • b8a124b99e Add preview page for embedded groups Maikel Linke 2017-09-20 15:51:09 +10:00
  • 28b1ea2d9f Allow group pages to be in iframes Maikel Linke 2017-09-20 15:41:48 +10:00
  • 2b989f49ea Enable iframes in development environment Maikel Linke 2017-09-20 15:20:42 +10:00
  • bdc701f880 Merge pull request #1816 from coopdevs/disable-create-profile-on-submit Enrico Stano 2017-10-05 15:25:37 +02:00
  • 7af154d675 Merge pull request #1820 from coopdevs/missing-translations-register Enrico Stano 2017-10-05 13:12:09 +02:00
  • 2552b5faac Track node version in .node-version Pau Perez 2017-09-29 16:11:22 +02:00
  • d8e3052575 Ensure a callback function is provided Pau Perez 2017-09-29 16:10:11 +02:00
  • 3c797d3b86 Updating translations for config/locales/es.yml [skip ci] Transifex-Openfoodnetwork 2017-09-27 00:23:20 +10:00
  • 46ca3bc950 Updating translations for config/locales/fr.yml [skip ci] Transifex-Openfoodnetwork 2017-09-26 19:51:50 +10:00
  • 75ec77dc31 Remove the 'confirm' step from the order checkout flow Rob Harrington 2017-09-23 12:33:45 +10:00
  • a09a54e4cb Set transaction fee adjustments to ineligible if payment is invalid or failed Rob Harrington 2017-09-23 10:33:58 +10:00
  • e486dbd4f8 Respond to Stripe webhook with status of 204 if specified account is not found Rob Harrington 2017-09-22 17:32:31 +10:00
  • db5503dd80 Allow destruction of StripeAccounts even if deauthorise request fails Rob Harrington 2017-09-22 16:47:22 +10:00
  • dd3d205536 Update deauthorize webhook to latest version of API (again) Rob Harrington 2017-09-22 16:30:49 +10:00
  • 90007d7114 Prevent Stripe-based payment methods that are not linked to a StripeAccount from displaying in the checkout Rob Harrington 2017-09-22 16:24:15 +10:00
  • 7ba99c0fe0 Update Bogus Gateway error message in checkout spec Rob Harrington 2017-09-17 13:42:02 +10:00
  • ba61f94906 Expose Stripe token creation error messages in Checkout Rob Harrington 2017-09-17 12:10:16 +10:00
  • 7c82fa3d44 Show more helpful payment processing error in checkout Rob Harrington 2017-09-17 11:47:46 +10:00
  • 665749d0c5 Refactor Stripe::AccountConnector Rob Harrington 2017-09-17 09:48:56 +10:00
  • d3566f9303 Update deauthorize webhook to latest version of API Rob Harrington 2017-09-15 15:26:12 +10:00
  • 7d2deca969 Ensure cart_spec runs in context where backorders are disabled Rob Harrington 2017-09-15 10:31:41 +10:00
  • 0f19be4db4 Configure StripeElements service to map cc_type to that used by activemerchant Rob Harrington 2017-09-14 16:44:12 +10:00
  • 393a4efbf6 Fix flaky OrderSerializer spec Rob Harrington 2017-09-14 11:18:20 +10:00
  • 34b109cbb7 Add basic validation to credit card form on account page Rob Harrington 2017-09-14 11:00:40 +10:00
  • 4785f3eacc Use lowercased cc_type in CreditCard service Rob Harrington 2017-09-14 10:22:24 +10:00
  • e14b017f1f Fix broken Stripe checkout spec Rob Harrington 2017-09-13 23:53:38 +10:00
  • d2096cf6d1 Make request stubs less brittle by using regex Rob Harrington 2017-09-13 23:52:42 +10:00
  • fbda1a27ad Add missing translation referenced from spree_auth_devise Rob Harrington 2017-09-13 23:51:42 +10:00
  • 098afc62c1 Fix rubocop issues Rob Harrington 2017-09-13 17:27:02 +10:00
  • 1cd1e9dc37 Extract filters for available PMs into service object Rob Harrington 2017-09-13 09:01:33 +10:00
  • 0bbaafbd41 Use guard clause Rob Harrington 2017-09-11 20:36:52 +10:00
  • 0e42c1cf30 Refactor ProfileStorer, call options as a separate method Rob Harrington 2017-09-11 20:11:09 +10:00
  • 620721c8cb Use find_by_id instead of find in EnterpriseController Rob Harrington 2017-09-11 17:50:38 +10:00
  • 5cba635783 Add documentation to StripeConnectSettings controller Rob Harrington 2017-09-11 17:39:26 +10:00
  • 08c723b10f Use expect syntax instead of should Rob Harrington 2017-09-11 17:37:36 +10:00
  • 61feb2b27d Rename Stripe existing_card param key to existing_card_id Rob Harrington 2017-09-11 17:22:11 +10:00
  • a2dee8d3d8 Create a Struct for Stripe Connect settings once rather than on each request Rob Harrington 2017-09-11 16:50:00 +10:00
  • a74c502fd9 Refactor logic for creating a payment profile from a Stripe token into a service object Rob Harrington 2017-09-11 16:39:52 +10:00
  • f6c3a2a46e Remove new credit card initialisation logic from Spree::UsersController#show Rob Harrington 2017-09-11 15:10:50 +10:00
  • 4464a85a74 Add missing controller specs for CreditCardController #destroy Rob Harrington 2017-09-11 15:02:19 +10:00
  • 22bbe29f3d Call single-use before_filters from actions instead Rob Harrington 2017-09-11 12:03:53 +10:00
  • 9832966b77 Fix Admin::PaymentsController spec Rob Harrington 2017-09-08 23:54:10 +10:00
  • 19213a5ca8 Rearrange new card inputs on account page Rob Harrington 2017-09-08 12:20:58 +10:00
  • 3a0b47c451 Add border to Stripe Elements input, make text larger Rob Harrington 2017-09-08 11:32:11 +10:00
  • 0cd43987de Hide Stripe payment methods without a preferred_enterprise_id from the front-end Rob Harrington 2017-09-08 10:45:30 +10:00
  • ca1987fc87 Prevent Stripe payment methods without account owners from being saved Rob Harrington 2017-09-08 10:17:47 +10:00
  • 2f153d799b Hide 'save credit card' checkbox for guests Rob Harrington 2017-09-07 18:56:17 +10:00
  • 742dd0b5dd Clean up jquery dialog styling Rob Harrington 2017-09-07 18:51:07 +10:00
  • ecef905444 Allow Stripe-based payments to be voided (refunded) Rob Harrington 2017-09-07 18:05:23 +10:00
  • dd56e03be1 Stop setting host for url helpers in specs Rob Harrington 2017-07-06 12:43:38 +10:00
  • 7b456461f3 Add ng-model directive to save credit card checkbox Rob Harrington 2017-09-07 12:41:32 +10:00
  • e4872172c8 Move PaymentMethodSerializer to correct path Rob Harrington 2017-09-07 12:39:31 +10:00
  • 2ed5e144ca Convert problematic embedded shopfronts feature spec into request spec Rob Harrington 2017-09-02 09:58:56 +10:00
  • f9df4d4c93 Rewrite js unit specs for Stripe Elements service Rob Harrington 2017-08-31 16:10:53 +10:00
  • 1aa477c57c Update feature specs to look for Stripe Elements element Rob Harrington 2017-08-30 16:37:16 +10:00
  • 69385370ee Initialize Stripe object only if a publishable_key has been defined Rob Harrington 2017-08-30 16:06:50 +10:00
  • 65ab83a9a5 Move StripeElements element to an AngularJS directive, mount from there Rob Harrington 2017-08-30 15:56:54 +10:00
  • 746c2ffef9 Add 'publishable_key' property to Stripe module (enables stubbing) Rob Harrington 2017-08-30 11:49:16 +10:00
  • 6690f2e9e7 Restyle add card form stveep 2017-08-06 19:06:56 +01:00
  • 74a7cb82bc Modify to use Stripe Elements to manually add cards in Account page. Remove StripeJS service stveep 2017-08-06 18:53:06 +01:00
  • 15ed4c32d9 Checkout switched to Stripe Elements from StripeJS stveep 2017-08-06 14:25:36 +01:00
  • 56ff877b25 Use Stripe Elements instead of StripeJS: https://stripe.com/docs/elements stveep 2017-08-05 12:59:19 +01:00
  • 926f196b96 Re-generate rubocop_todo Maikel Linke 2017-08-25 14:33:21 +10:00
  • 5b7e2f7ca8 Apply style guide Maikel Linke 2017-08-25 14:24:05 +10:00
  • 0a12f78444 Separate files for Payment Method serializers stveep 2017-08-23 21:44:22 +01:00
  • da5c907e0f Add/remove comments from PR feedback stveep 2017-08-23 21:42:33 +01:00
  • f065cbe251 Fix specs for saved credit cards: Add payment profile ID to fixture (now denotes that a card has been saved), check for current user to avoid error attempting to inject saved cards as a guest stveep 2017-08-23 09:22:04 +01:00
  • 511afa0ddc Bump Stripe gem version stveep 2017-08-20 19:36:05 +01:00
  • d5ab9eb675 Hide option to 'Remember this card' when an existing card is selected Rob Harrington 2017-08-04 17:09:00 +10:00
  • cb08011450 Fix typo in Stripe confirm modal Rob Harrington 2017-08-04 16:52:10 +10:00
  • 41b7be900c Restrict the meaning of 'Saved Cards' to mean those with a payment profile Rob Harrington 2017-08-04 16:49:56 +10:00
  • 6133b302af Use guard clause in PaymentMethodsController#restrict_stripe_account_change Rob Harrington 2017-08-04 14:04:50 +10:00
  • 4fb1c7fd92 Add 'Stripe is in Beta' warning Rob Harrington 2017-08-04 12:41:19 +10:00
  • b31881baa5 Add explanation about configuring Stripe API keys Rob Harrington 2017-08-04 11:49:48 +10:00
  • 4e96487da9 Redirect to #/payment methods from stripe connect callback Rob Harrington 2017-08-04 11:19:59 +10:00
  • 98317e96d0 Remove unused stripe action abilities Rob Harrington 2017-08-03 16:35:09 +10:00
  • 4865533f26 Restrict edit permissions on Stripe payment methods Rob Harrington 2017-08-03 16:29:30 +10:00
  • 1f8890b430 Use an explicit date format for PaymentsSerializer#updated_at Rob Harrington 2017-08-03 11:01:04 +10:00
  • 11daf89005 Add admin views for Stripe payment methods Rob Harrington 2017-08-02 16:56:01 +10:00
  • fab893e60b Fix paypal source_form view Rob Harrington 2017-08-02 16:40:09 +10:00
  • a04116466e Fix js for switching form partial for new admin payments Rob Harrington 2017-08-02 15:36:33 +10:00
  • 2f6493bb86 Use ng-cloak for admin/enterprises/edit form Rob Harrington 2017-07-31 17:29:02 +10:00
  • 589c2a1500 Add a modal to handle explanation of user's responsibilities before redirecting to Stripe Rob Harrington 2017-07-31 17:26:56 +10:00
  • 8cae874109 Fix styling on jquery dialogs Rob Harrington 2017-07-31 13:56:42 +10:00
  • 7c406f7c3a Use hash navigation to direct users to #/payment_methods from Stripe PM Rob Harrington 2017-07-31 13:38:55 +10:00
  • 862443ed6d Add hash navigation to admin Enterprise edit view Rob Harrington 2017-07-31 13:24:56 +10:00
  • 3b78179dea Ask customer about saving card details used in checkout Rob Harrington 2017-07-31 12:46:41 +10:00
  • f317cee9e9 Tweak UI for selecting an existing card at Checkout Rob Harrington 2017-07-31 11:47:32 +10:00
  • 35912605c3 Include customer name in source attrs for Stripe checkout requests Rob Harrington 2017-07-19 16:01:58 +10:00
  • 8901af897a Store card details submitted via checkout Rob Harrington 2017-07-19 14:58:42 +10:00
  • ee92f46bd5 Fix stripe request spec by providing en enterprise_id Rob Harrington 2017-07-14 18:21:32 +10:00