Processing test cc payments unsuccessfully

Posts: 1
Joined: 08/22/2008

Just installed Ubercart and loaded it successfully. Got some error messages for attributes and product packaging so I turned them off. I set up a subscription product and then tried to purchase it through the test cc payment processor and received the following message:
Fatal error: Call to undefined function ca_pull_trigger() in /home/holbroo1/public_html/modules/ubercart/payment/uc_payment/uc_payment.module on line 982

Any help is greatly appreciated.

Tim

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

That's a Drupal 6 function... I'm kind of curious which version you're using. Smiling

Drupal 6 isn't supported here on the forums yet.

Posts: 2
Joined: 09/29/2008

I am also receiving a similar error after payment is made...

Fatal error: Call to undefined function ca_pull_trigger() in /home/**************/public_html/modules/ubercart/uc_order/uc_order.module on line 2823

I know Ryan said this is a Drupal 6.x issue, so I'll dig around and see if I can't at least fix it so the error doesn't show up for now. This is really the only issue that's keeping me from running my shop live right now.

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

It sounds like somehow you don't have the Conditional Actions module (ca.module) installed. Puzzled

Posts: 56
Joined: 07/16/2008
Getting busy with the Ubercode.

PS. If anyone finds this thread looking to find out how to un-successfully process credit cards with the test processor the credit card you use credit card number 16x 0's

<?php
// Use 0000000000000000 to test a failed payment, anything else for a good one.
if ($order->payment_details['cc_number'] == '0000000000000000') {
  
$success = FALSE;

else {
  
$success = TRUE;
}
?>