I'm using Remote method & am getting this error:

Payment failed; Reason Provided by bank: Mandatory field not present - cannot continue. Please check the Developer Documentation for mandatory fields

I've set up ubercart CC settings so that CVV and Card Owner are enabled, and I'm putting in reasonable values for these. The test order itself contains the same name and full address.

I note that the failed transactions do NOT appear in realcontrol. Should they?

Is there documentation for this? (If not, once I get this working I'll document the steps)

Comments

frost’s picture

Component: Documentation » Code
Assigned: frost » Unassigned
Category: task » bug
Status: Needs review » Active

Here's an outline of the steps I took (reordered a bit to make more logical sense), as an initial draft for a readme or other documentation. They have been updated and appear to work ok for me against my realex developer's account, I will update this entry once I have tested against a live account.

If you see any problems with these steps please let me know.

0. get a realex developer's account

1. purchase & set up an ssl cert for the site

2. install & enable secure pages & Secure Pages Hijack Prevention
--add page cart/checkout* to the list of ssl-enabled pages

3. create folder in web root /cckeys and give 777 permissions

4. enable ubercart payment module "credit card"

5. enable credit card payment method & configure (admin/store/settings/payment/edit/methods)
--card number encryption file path ../cckeys
--enable ccv text field & issuing bank field
leave other settings as defaults

6. Save & change /cckeys folder permissions to 775

7. install & enable uc_realex
[note that in my case, i had the release version of uc-realex installed, and later replaced it with the dev version. could that have left any artifacts around?]

8. configure uc_realex gateway (admin/store/settings/payment/edit/gateways)
enable gateway & enter in merchant id, account, & secret - using your realex developer's account settings

9. Try test transactions with realex test credit card & laser card numbers

10. When working, switch your payment gateway to use the live customer's realex account settings (admin/store/settings/payment/edit/gateways)

Also I'm not sure if I need to patch ubercart credit card to allow Irish Laser cards, since i havent gotten as far as getting a visa card transaction to work.
the patch i'm thinking of is :

http://drupal.org/node/528454#comment-3789152

frost’s picture

Component: Code » Documentation
Assigned: Unassigned » frost
Category: bug » task
Status: Active » Needs review

my bad, i had left out issuing bank! i've added that to my list of steps above, and updated that entry

i would suggest that that list could serve as a starting point for module documentation, but never having submitted docs before, i'm not sure what to do with it next. i see there's a handbook page for ubercart at http://drupal.org/node/159733 which could have a child page with docs for uc-realex, but unfortunately that Ubercart handpage page is only for 5.x, so it might be misleading to put the uc-realex docs there.

Anyway, i'm changing this to a documentation task & assigning it to myself, but would appreciate it if someone could help a bit showing me the steps to get it in the right format & in the right place.

thanks
mike

alanburke’s picture

Component: Code » Documentation
Assigned: Unassigned » frost
Category: bug » task
Status: Active » Needs work

Hi Frost.
It can be pretty simple.
Just tidy up your docs above.
Just be clear what bits apply to Drupal, Ubercart, server config,
and what bits apply to this module.

I'll add it to a README.txt file in the project,
and then link to that on the project page.