uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
ushop2 credit card validation

Knowledge Base Lobby : uShop Support Conference : General Questions
Nov-20-17 04:38 AM EST
Original Message
ushop2 credit card validation
Author Toks Odofin on 01-28-2003 at 13:26 (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.

E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: ushop2 credit card validation Bill Weiner, 2003-01-29 05:59:09 (1)
            RE: ushop2 credit card validation Bill Weiner, 2003-01-29 06:01:36 (2)
                 Cheers. Toks Odofin, 2003-01-29 15:05:28 (3)

Messages In This Discussion
         1. RE: ushop2 credit card validation
        Author Bill Weiner on 01-29-2003 at 05:59 (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.
TABLE OF CONTENTS
                 2. RE: ushop2 credit card validation
                Author Bill Weiner on 01-29-2003 at 06:01 (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
TABLE OF CONTENTS
                         3. Cheers.
                        Author Toks Odofin on 01-29-2003 at 15:05 (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
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.