No replies
sunward's picture
Offline
Joined: 11/20/2009
Juice: 59
Was this information Helpful?

I have Drupal 6 with Ubercart running (which is going to be upgraded to 7 in a week)

In the mean time, I set up with authorize.net and Pivotal to handle credit cards as paypal was giving me problems over the holidays - which has now been corrected by paypal. The credit card module is active and I get proper messages and authorization for credit cards.

I have set up the Payment methods to handle credit cards through authorize.net along with Pivotal Payments and it works properly - unless the buyer is not registered. An unregistered user gets the following error:

Fatal error: Call to undefined function drupal_hmac_base64() in /modules/user/user.module on line 1513

with line 1513:
return drupal_hmac_base64($timestamp . $login . $uid, drupal_get_private_key() . $password);

the modules fails if there is no user id.

I don't want to force users to set up an account in order to purchase so I am looking to fix this in Drupal 6 before I move to Drupal 7.

Any ideas?