Credit Card Orders and Linkpoint API

Posts: 55
Joined: 08/17/2007

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?

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

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.

Posts: 55
Joined: 08/17/2007

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

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

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.

Posts: 55
Joined: 08/17/2007

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 :/

Posts: 55
Joined: 08/17/2007

edit: Moved solution I used to Linkpoint API Payment Module