osCmax v2.5 User Manual
Results 1 to 8 of 8

Grab total amount from checkout_confirmation.php to be visible to the next page

This is a discussion on Grab total amount from checkout_confirmation.php to be visible to the next page within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Dear all, I have a bit of a problem, basically i need to get the total amount from checkout_confirmation.php to ...

      
  1. #1
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Grab total amount from checkout_confirmation.php to be visible to the next page

    Dear all,

    I have a bit of a problem, basically i need to get the total amount from checkout_confirmation.php to a credit card page supplied from Payment Gateway company. The following is the code which dictates the amount:

    //build a payment for 11.50 with english language and EURO as currency
    //and retrieve the hash for the post to apco
    $hash = $payment->getXML(1150, rand(1, 100000), 'EURO', 'en');

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    Which payment processor are you using? Most already have one created for osc/osCMax.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    Basically this company doesn't have a payment module for oscommerce which i found very unprofessional. They've just sent me a 4 php files to connect it with their payment server and than back to the store.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    Repeated.....

    Which payment processor are you using?

    If they themselves don't have one - then like I said -Most already have HAVE one created ......
    but we need to know who....

    If no one heard of them and no one created the proper module - then they are very local or very small or NOT WELL used for some reason. ( Lack of customer service I would suspect ).
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    Forgot to mention. They may be a reseller of some other service... Thus they may LACK the intelligent to create any PHP code other that what was supplied though there reseller agreement. With these raw PHP files they could hide this fact, but in reality the code is the same as another payment modules with a tweak or two.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  6. #6
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    The company is Apco Limited www.apco.com.mt

  7. #7
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    This seams like a very VERY SMALL operation that are looking for PROGRAMMERS - which maybe why they have no support except for local specialized developed programs and they have NO support of ANY of the well known international large market shopping carts. They are located on a small ISLAND that covers about the same area as the the city I live in - several of our lakes near by would cover the island several times.

    Unless you have no choice - I would look at moving suppliers. Or taking a similar module - like PayPal or Authoiznet or SECpay etc... and modify it with the code they supply. Regardless, your going to have to dive into PHP....if you have to use Apco.

    All the default payment modules show the variable used to send and receive for what you need.


    Good Luck!
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  8. #8
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Grab total amount from checkout_confirmation.php to be visible to the next page

    Thanks JPF for the explanation... hope my client changes apco!

Similar Threads

  1. Save order after checkout_confirmation.php page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-21-2008, 05:51 AM
  2. Admin boxes always visible (pulled-down)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-22-2008, 03:01 PM
  3. Save order on checkout_confirmation.php page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-17-2008, 03:18 AM
  4. Order total amount problems
    By klk in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 05-27-2005, 08:11 AM
  5. Changing the default amount of thumbnails per page
    By fireburst in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 07-26-2004, 03:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •