Closed (fixed)
Project:
Recurly
Version:
4.0.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2021 at 23:14 UTC
Updated:
7 Feb 2023 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
socialnicheguru commentedHere is the signup_url from modules/contrib/recurly/src/RecurlyPreprocess.php
the only issue that I can see is that there is no value for currency.
I did enable this to delete commerce_currency_format as i was given errors.
https://www.drupal.org/project/recurly/issues/2895261
Comment #5
sultancillo commentedI'm sure i broke all kinds of protocols here but this merge request solves this issue:
https://git.drupalcode.org/project/recurly/-/merge_requests/5
Also solves the problems with RecurlyJS not using the correct address requirements in the settings and payment form..
Seems like the recurlyjs module got left behind when the change was made from using RecurlyClient to RecurlyClientFactory
Comment #6
colanComment #7
loze commentedConfirming that this fixes the issue with recurlyjs causing unauthorized api errors.
Comment #8
loze commentedAfter further testing I found that it was also failing on the subscription change/cancel forms due to the move from RecurlyClient to RecurlyClientFactory
This is a patch with the changes in #4 and a few small updates to get it working on those form pages.
Comment #9
j_ten_man commentedThis is working for me.
Comment #10
j_ten_man commentedApparently another place that's not working - the push/webhook listener. Updated the patch to include the change.
Comment #11
rakesh.drupal commentedAfter testing, I found that recurly client is missing, and after initializing the client that is working for me.
Comment #14
eojthebraveIt looks like much of this issue was fixed in #3061322: Port support for recurly.Pricing() from D7 to D8. 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:
Comment #15
blakehall commentedAfter a review, this looks good to me. Marking RTBC
Comment #17
eojthebrave