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.
Hi, I'm building a commerce site for a client and we are using the Elavon module. In my client's Elavon settings, he wants to use http referrer restriction. Does anyone know the address that needs to be allowed in the http referrer setting for this module to work with the http referrers setting?
Comments
Comment #1
wuinfo - Bill Wu CreditAttribution: wuinfo - Bill Wu commentedIs it whitelisting url?
Comment #2
donbon CreditAttribution: donbon commentedYes its a whitelist. On my client's oldsite, the URL was "SubmitCreditCard.php " but that was a custom built site that isnt drupal.
Comment #3
wuinfo - Bill Wu CreditAttribution: wuinfo - Bill Wu commentedThe URL for the call made to the credit card processor can be found in the module code.
Comment #4
donbon CreditAttribution: donbon commentedThanks for your time and effort, wuinfo. Maybe its because I'm not super savvy when it comes to module code, but I can't seem to find it in the commerce_elavon.module file or the commerce_elavon.admin.inc file.
Comment #5
wuinfo - Bill Wu CreditAttribution: wuinfo - Bill Wu commentedIs this what you are looking for?
Comment #6
donbon CreditAttribution: donbon commentedI don't believe so, it would be a url from the website. If I can better clarify something I mentioned above, in the old site it was https://www.myclientswebsite.com/SubmitCreditCard.php. But, again, that was a non-drupal website.
Comment #7
2ndmile CreditAttribution: 2ndmile commentedmattbus, I may be completely missing something but the module's API call to Elavon can not be accessed via a URL directly as in your example so I think your concern is moot.
Comment #8
donbon CreditAttribution: donbon commentedHi, @2ndmile, you seem to have somehow been able to interpreted my question correctly.
So I must infer from your response that this module will only work if Elavon's HTTP referrer setting is turned off. It feels odd that no one else has brought this up. Maybe I am missing something, perhaps it is because I am not very knowledgeable about Elavon. I apologize if my question was somewhat unintelligible. I am operation from a very limited knowledge of Elavon (my knowledge is limited to what my client has told me as well as a couple of hours I spent googling "elavon http referrer settings"). I very much appreciate you guys taking the time to answer my questions. Thank you :).
Comment #9
wuinfo - Bill Wu CreditAttribution: wuinfo - Bill Wu commented