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 -External Credit Card Authorisation

Knowledge Base Lobby : uShop Support Conference : Programmer Tips
Oct-22-17 10:36 PM EST
Original Message
ushop2 -External Credit Card Authorisation
Author Toks Odofin on 01-28-2003 at 13:29 (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'(an external merchant interface program) via a form.

How might I get this 'Total' 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 -External Credit Card Authorisation Bill Weiner, 2003-01-29 05:57:25 (1)
            RE: ushop2 -External Credit Card Authorisation Bill Weiner, 2003-01-29 06:02:13 (2)
                 Thankyou ! Toks Odofin, 2003-01-29 15:02:42 (3)

Messages In This Discussion
         1. RE: ushop2 -External Credit Card Authorisation
        Author Bill Weiner on 01-29-2003 at 05:57 (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 -External Credit Card Authorisation
                Author Bill Weiner on 01-29-2003 at 06:02 (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. Thankyou !
                        Author Toks Odofin on 01-29-2003 at 15:02 (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.