Closed (fixed)
Project:
Recurly
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2012 at 02:06 UTC
Updated:
8 Jul 2014 at 03:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
7wonders commentedSeems its not adding a currency to the end of the url on the subscription page. So therefore its setting Currency USD by default and there doesnt seem to be a way to change that??
Comment #2
jeremymcminn commentedHad this same problem also, so changed my currency to USD - not ideal but will have to work for the time being.
Comment #3
7wonders commentedA quickfix is to change line 111 recurlyjs.pages.inc from USD to the currency you want. Im looking into a proper fix now.
Comment #4
7wonders commentedHere is a very simple fix in the meantime that adds a "recurly default currency" setting to the admin page. I think this was maybe the intention from the start as there is a few
variable_get('recurly_default_currency', 'USD');dotted around the place.Comment #5
7wonders commentedComment #6
7wonders commentedWith the uninstall variable too!!
Comment #7
quicksketchThanks guys! For reference, you can also just tack the currency code at the end of your URLs to your subscription page. i.e. user/1/subscription/signup/[plan_name]/AUD. But I definitely agree that this needs to be configurable to set the site default. I added some extra description text and shortened up the presentation of the field. Committed this patch. Thanks!
Comment #8
quicksketchOh, seems that you already knew that and tried to change it. I don't have access to a Gateway that supports multiple currencies, so I haven't been able to explicitly test the multiple currency support. Seems like we've got another bug that actually needs to be fixed rather than just adding this setting.
Comment #9
quicksketchI've committed the patch in #7, but we still have this problem if you want to use a different currency than the default.
Comment #10
quicksketchRe-reading this issue I think I misunderstood. The problem was when:
1) You have a currency default in Recurly that is not USD.
2) You visit the signup page without a currency in the URL.
Now that you can change the default currency in the Drupal module to match Recurly, we no longer have this issue (I think). I still don't use Recurly for multiple currencies so I can't test this, but it sounds as though this problem has been resolved.