Setting up card types for use with Direct

greg.harvey - September 14, 2009 - 13:33
Project:SagePay (former Protx) Direct Payment Gateway for Ubercart
Version:5.x-1.6
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

Quick support request, as I'm slightly confused when it comes to configuring cards. Under admin/store/settings/payment/edit/methods I have entered a list of cards that SagePay supports (taken from http://techsupport.protx.com/cardtypes.asp#Whatcardsupp) so my drop-down list of card types is correct. But I'm wondering, how does this correspond to SagePay? Or doesn't it matter? Is this just for user reference and SagePay *knows* what sort of card it is from the form and digits of the card number?

Thanks! =)

#1

marcus178 - September 30, 2009 - 12:40

I need some information on this too. I have added the following to CARD TYPE SELECT BOX OPTIONS:

VISA
DELTA
UKE
MC
SWITCH
MAESTRO
SOLO
AMEX
DINERS
JCB

as this seems to be the only way for it to work correctly. However this is not ideal as some of this descriptions won't be recognisable by the customer. So is there anyway to change the description in the drop down that the customer sees.

#2

greg.harvey - September 30, 2009 - 13:22

"some of this descriptions won't be recognisable by the customer"

But that doesn't matter, surely? If you have a JCB card, you know what it is and you pick it? =/

I probably don't understand your problem.

To follow up on my initial post, yes, SagePay automatically works out from the number format what sort of card it is, so the actual card select box could be utter nonsense - it doesn't matter. It's only there to make people feel warm and fuzzy inside. It seems...

#3

marcus178 - October 2, 2009 - 07:17

I'm more than happy not to have the card selection box but if I disable it I get the following error

We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order.

I currently have it in test mode.

#4

greg.harvey - October 2, 2009 - 08:41

Then hide it with hook_form_alter.

 
 

Drupal is a registered trademark of Dries Buytaert.