Skip to content

Vendure Accept Blue Subscriptions changelog

← Plugin documentation · View on npm

  • Added optional numLeft to Subscription.recurring. When set to a positive number, it overrides the number of billing cycles calculated from the start and end date. A numLeft of 0 is ignored, because 0 means ‘ongoing’ at Accept Blue, and the calculated value is used instead.
  • Fix additionalChargeInput monetary amounts not being divided by 100 before sending to Accept Blue. Amounts in amount_details and line_items are now automatically converted from Vendure cents to dollars.
  • Upgraded to Vendure 3.6.3
  • Upgraded to Vendure 3.5.3
  • Allow passing additional input when creating a charge via the additionalChargeInput option.
  • Use parent order instead of orderLine.order in getSubscriptionsForOrderLine to prevent hydration issues.
  • Documentation update
  • Updated official documentation URL
  • Allow disabling sending receipt emails to the customer via the Accept Blue platform.
  • Breaking: amountDueNow was not actually being used to calculate the line price! If you used variant.price in your subscription strategy, or used the default subscription strategy, everything still works as expected.
  • Allow subscriptions with amount=0
  • Delete created subscriptions if the one-time charge fails after that.
  • Store payment metadata for declined transactions. Create recurring schedule after successful charge.
  • POTENTIALLY BREAKING: Creating a card payment method now accepts a Vendure customer ID, which changed the input from Int! to ID!.
  • Prevent empty metadata for orders with $0
  • Enable updating payment method on a subscription via the Shop API for logged in customers
  • Bug fix: Prevent updating a subscription to a payment method type (Visa, MasterCard, etc) that is not allowed. Only allow the methods set via the Admin UI.
  • Enable creating and deleting payment methods via the Shop API for logged in customers
  • Enable creating and deleting payment methods via the Admin API for all customers
  • Upgraded to Vendure 3.3.2
  • Added updating of payment methods via the Shop API for logged in customers
  • Added updating of payment methods via the Admin API for all customers
  • Changed testMode log statement from warn to verbose
  • BREAKING: Removed account_number from UpdateCheckPaymentMethodInput as it is never returned by Accept Blue
  • Correctly encode email addresses when looking up customers in Accept Blue. This prevents incorrect Customer not found errors when using email addresses with + in them.
  • Fixed typo in error message
  • BREAKING: AcceptBlueSubscription.recurring.endDate is removed.
  • BREAKING: AcceptBlueSubscription.recurring.startDate is now optional.
  • The fields createdAt, nextRunDate, previousRunDate and numLeft have been added to AcceptBlueSubscription.recurring.
  • Prevent throwing an error when no enabled Accept Blue payment method is found when fetching other eligible Payment Methods.
  • Don’t expose Accept Blue config on non Accept Blue Payment Method Quotes
  • Expose acceptBlueTestMode on Payment Method Quotes
  • Expose tokenization key, and Google merchant id’s on payment method quote and eligible Accept Blue methods.
  • Added Apple Pay and Google Pay to eligible Accept Blue payment methods
  • Fixed typo Allow Pay to Apple Pay
  • Added Google Pay and Apple pay for creating subscriptions
  • Renamed internals to Amex as well
  • Not checking for sec_code input anymore, as it is an optional argument
  • Renamed payment method American Express to Amex
  • Allow disabling certain payment methods, e.g. ‘visa’ or ‘check’, via the Vendure Admin UI
  • Expose surcharges used by Accept Blue via GraphQL query
  • Update a customer’s shipping and billing details in Accept Blue on subscription creation
  • Allow updating created subscriptions via the Admin API
  • Moved refunding to admin-api, and only allow with permission UpdateOrder
  • Publicly expose ctx in AcceptBlueTransactionEvent
  • Add ctx to AcceptBlueTransactionEvent
  • Update Vendure to 3.1.1
  • Recurring amounts divided by 100
  • Round up nrOfBillingCyclesLeft, to prevent unwanted never-ending subscriptions. See #532
  • Made both custom fields customer.acceptBlueCustomerId and orderLine.acceptBlueSubscriptionIds nullable and readonly. DB migration needed
  • Included custom field type declaration file in published package
  • Return Declined when payment handling fails, instead of throwing
  • Bug fix: Return Settled state for successful refunds
  • Implemented refunding via admin UI for initial AC transaction
  • Export AcceptBlueTransactionEvent from package
  • Don’t throw error while resolving PaymentMethodQuote.acceptBlueHostedTokenizationKey if there is no AcceptBlue method (#452)
  • Automatically register webhooks with Accept Blue on payment method creation and update
  • Emit AcceptBlueTransactionEvent on incoming webhooks from Accept Blue
  • Update compatibility range (#480)
  • Convert biannually to every 6 months instead of once every 2 years
  • Allow test mode to be set at payment method level.
  • Removed the usage of env var ACCEPT_BLUE_TEST_MODE for test mode. Use the setting on payment method.
  • Update Version to 2.2.6
  • Return subscription id in Graphql type for created Accept Blue subscriptions
  • Allow refunding a transaction via refundAcceptBlueTransaction mutation.
  • Order.lines.acceptBlueSubscriptions now fetches created subscriptions from Accept Blue for placed orders, instead of calling your subscription strategy
  • Order.lines.acceptBlueSubscriptions.transactions shows the transactions made for the given subscriptions
  • Refactored order line custom field subscriptionIds to acceptBlueSubscriptionIds to avoid conflicts with for example the Stripe Plugin
  • Correctly check given input types
  • Always save payment methods and create recurring schedules and one time charges with a saved payment method
  • Allow payment for order with a saved payment method ID
  • Implement Charge Transaction with e2e tests
  • Implement Tokenized Credit Card Payment with e2e tests
  • Initial release