www.uburst.com www.uburst.com

"ushop2 credit card validation"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"ushop2 credit card validation"
Posted by Toks Odofin on Jan-28-03 at 01:26 PM (EST)
Hello, I am posed with the following problem. I wonder could anybody help? In order to be able to Authorise Creditcard payments automatically, I wish to be able to 'post' the shopcarts "Total" value eg. $100.00 to the 'ePDQ Merchant Interface' via a form.

How might I get this value ? Is it stored anywhere, perhaps in a variable of somesort?

At present, the storeowner must process the credit card number or other payment information manually.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: ushop2 credit card validation, Bill Weiner, Jan-29-03, (1)
RE: ushop2 credit card validation, Bill Weiner, Jan-29-03, (2)
Cheers., Toks Odofin, Jan-29-03, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: ushop2 credit card validation"
Posted by Bill Weiner on Jan-29-03 at 05:59 AM (EST)
The order total can be accessed via a global variable in the uShop CGI script called:

$totals_total

This variable and other common values/variables are listed near the top of the ushop-lib.pl script.

In regard to POSTing credit card and other information to your 3rd Pary Payment Processing system, you will probably want to look into modifying the "display_credit_card_form" subroutine which is located in the ushop-lib.pl script. Hidden parameter names and other form field names would need to be changed to what your external payment processing system needs.... along with the URL to which that form is posted. You may then need to modify the "complete_order" subroutine in the ushop.pl script if you want to have uShop receive a response back from the payment processing system.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: ushop2 credit card validation"
Posted by Bill Weiner on Jan-29-03 at 06:01 AM (EST)
RELATING TO USHOP 2.X

Oh. With the old uShop 2.x, the order total can be accessed via a global variable in the ushop_cgiscript.pl file called:

$uShop_total

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "Cheers."
Posted by Toks Odofin on Jan-29-03 at 03:05 PM (EST)
Bill, thank you for your prompt, and helpful reply. It is much appreciated,...at least I now know 'it' is possible, and understand where to start !

Kind Regards

Toks Odifin
ukzoite7@aol.com

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.