Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFX_Cybercash Tag testing

Status
Not open for further replies.

Duncanmcl

Programmer
Dec 23, 2000
61
US
I just registered (my CF Administrator)the CFX CyberCash tag provided by ColdFusion, How do I set it up to test, I'm using a Local Server environment PWS,Windows 98,Access and CF Studio. I understand I should be able to test without registering with CyberCash? CF doc's has instructions including CCPS_Host= but no reference where this code should reside, in the administrator, on the template using the tag.

Thanks in advance...........Jim

PS: I have another thread in CF unanswered...can you help?? see Photo
 
Hey Duncan,

It's been a while since I worked with Cybercash but I believe this is what you're looking for. I don't know if this has changed since I last worked with it but I think this is the default example for testing the tag.

<CFX_CYBERCASH
VERSION=&quot;3.2&quot;
CCPS_HOST=&quot; CYBERCASH_ID=&quot;test-mck&quot;
MERCHANT_KEY=&quot;gmRJp8rbzzcRdI5g8eLRScFeeQSWew5FsBzq6bxJDSJIiWhq7f&quot;
MO_ORDER_ID=&quot;1234567890&quot;
MO_VERSION=&quot;3.2.0.2&quot;
MO_PRICE=&quot;usd 12.34&quot;
CPI_CARD_NUMBER=&quot;4111111111111111&quot;
CPI_CARD_EXP=&quot;01/99&quot;
CPI_CARD_NAME=&quot;John Doe&quot;

OutputPOPQuery=&quot;pop&quot;
>

<CFIF results.status is &quot;success&quot;>
success
<CFELSE>
handle the failure
</CFIF>

Hope this helps,
GJ
 
Found my own answer! In the above script, the key to the problem the the OutputPoPQuery, that the name of an inbedded query within the Tag where the response data is returned and temp stored. In my example I named this query 'POP'. There in the CFIF statement you need to refer to it as pop.status. The script works correctly in a test environment. The actual variables in OutputPopPQuery is not clear...but status, error_message are valid...i'm not sure if we can get an accept in test mode...I need to call Cybercase again....note their support didn't see the fix I needed. End-of-story
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top