Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It turns out that the URLs being passed around are in different formats. This is causing errors as some methods are expecting Urls and others are expecting strings. Included in this problem is the original report below, where the billing-update URL is incorrect, but it makes sense to fix all of these problems at once.
Original issue
This is a follow-up to #2869882: recurly_hosted account manage url returns 404. The URL for this was set there, but it was set incorrectly. It's missing an /edit
at the end, as per Hosted Billing Information in the docs.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#11 | recurly-fix_hosted_url_mismatches-2973143-11.patch | 410 bytes | markdorison |
| |||
#8 | interdiff-2973143-5-8-do-not-test.diff | 693 bytes | colan |
#8 | recurly-fix_hosted_url_mismatches-2973143-8.patch | 5.01 KB | colan |
| |||
#5 | interdiff-2973143-3-5.do-not-test.diff | 4.1 KB | colan |
#5 | recurly-fix_hosted_url_mismatches-2973143-5.patch | 5.05 KB | colan |
|
Comments
Comment #2
colanAdded link to docs.
Comment #3
colanPatch attached.
Comment #4
colanAdded greater scope to IS.
Comment #5
colanSee attached.
Comment #6
colanComment #7
markdorisonChanges look good except for one code item below.
The recurly.entity_type service should be used to instantiate this class instead of calling it with "new" directly. See recurly.module for an example.
Comment #8
colanHow's this?
Comment #10
markdorisonComment #11
markdorisonI missed this in my initial review, but this use statement was added but is no longer needed.
Comment #12
colanGood catch!
Comment #14
markdorison