5 replies [Last post]
Nick's picture
Offline
Joined: 08/17/2007
Juice: 95
Was this information Helpful?

A few questions real quick:

When information is incorrect, how do I get an error message to be displayed? At the moment if a credit card number is incorrect the page just reloads and doesn't display any message.

--------------------------------------------------------------------------------------

Are orders charged automatically or do I have to click the "Process Order" button to charge a credit card after an order is placed?

edit: Found option to Attempt to process credit card payments at checkout in payment settings.

--------------------------------------------------------------------------------------

And last, does the Linkpoint API in the contribs folder work with ubercart alpha 7e?

edit: When I try to charge a card my card, I am told:

10/08/2007
9:07:22 AM 1 Credit card declined: $0.01

The card is a working card. Does anyone know where I can look to get further information on what could be happening?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Credit Card Orders and Linkpoint API

In the code, drupal_get_message() loads the error into the message queue. In the theme, page.tpl.php has the line

<?php
 
print $messages;
?>

I have seen two themes that didn't do that, and I am honestly surprised that their designers didn't think anything was wrong. Check to make sure your theme does.

Nick's picture
Offline
Joined: 08/17/2007
Juice: 95
Re: Re: Credit Card Orders and Linkpoint API

Thanks Lyle that fixed the messages problem. Will this also help me solve the issue as to why the linkpoint module is not processing the credit cards or do I have to look somewhere else?

edit:

error message is: Credit card payment declined: Sorry - Could not connect to payment gateway.

Gonna check all my settings in the linkpoint module to see if they're correct

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Credit Card Orders and Linkpoint API

If it won't connect to the gateway, it may be the module has bad code. If you can check it out and make sure the URLs are correct, that may be a good starting point. If the module depends on curl, make sure your server has that enabled, too.

Nick's picture
Offline
Joined: 08/17/2007
Juice: 95
Re: Re: Re: Re: Credit Card Orders and Linkpoint API

Where I went wrong was I didn't have the full path to a PEM file needed by linkpoint to communicate with their server. I had to include the full server path (/home/user/public_html/etc...).

Now the problem I seem to be getting is this module isn't passing the credit card expiration date to linkpoint :/

Nick's picture
Offline
Joined: 08/17/2007
Juice: 95
Re: Re: Re: Re: Re: Credit Card Orders and Linkpoint API

edit: Moved solution I used to Linkpoint API Payment Module