Recurly unauthorized API

Created on 8 October 2021, about 3 years ago
Updated 24 January 2023, almost 2 years ago

Problem/Motivation

I have not signed up for any accounts.
On user/xx/subscription/signup
I get the list of the plans that I enable with a β€œsign up” Text
When I click on the text I get the following error

Recurly_UnauthorizedError: "Your API Key is not authorized to connect to Recurly." at Drupal/vendor/recurly/recurly-client/lib/recurly/util/http_validations.php line 21,

I can access the admin/config/services/recurly/subscription-plans page just fine.

So the api is working there but not on the user page

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • @eojthebrave opened merge request.
  • πŸ‡ΊπŸ‡ΈUnited States eojthebrave Minneapolis, MN

    It looks like much of this issue was fixed in πŸ“Œ Port support for recurly.Pricing() from D7 to D8 Fixed . Mainly injecting the Recurly client object into the \Recurly_Billing calls. I opened a new MR to fix the one remaining issue with \Recurly_Billing (it was just easier to start a new one than to try and rebase the old one). And incorporated the fixes from above. I also added tests for the billing info update form to hopefully help ensure we don't have this issue again.

    In adding tests I also cleaned up a few other things:

    • Remove dependency on the deprecated jQuery.once library
    • Fix the code that pre-populates the billing info update form with data from Recurly, it was there but not working because the data structure from Recurly didn't match that of the form
    • Add tests
  • Status changed to RTBC almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States blakehall

    After a review, this looks good to me. Marking RTBC

  • Status changed to Fixed almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States eojthebrave Minneapolis, MN
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024