Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2011
    Location
    Between London and Cetinje
    Posts
    107
    Plugin Contributions
    0

    Default Transaction Amount Missing

    Hi,

    I installed very simple payment module donwloaded from Zen Cart free modules page. I amended and adapted the module to my needs by changing an action URL which leads me to payment gateway of its provider.

    But the process can't be completed beacuse I've got an error message "Transaction Amount Missing".
    Everything is fine during checkout process in Zen Cart. This problem occurs after I confirm order (during a redirection to the payment page on my provider site).

    Does anyone have an idea what the problem should be?

    Many thanks.

  2. #2
    Join Date
    Feb 2011
    Location
    Between London and Cetinje
    Posts
    107
    Plugin Contributions
    0

    red flag Re: Transaction Amount Missing

    Here more details that might be useful regarding my question above.
    My shopping cart works fine. Demo shopping cart at the remote server of the payment gateway provider also works with no problems. But the problem occurs after I confirm an order in Zen Cart and should be pointed to a hosted payment page. After I am redirected I don't reach the hosted payment page but see the error page which says that transaction amount missing!

    <?xml version="1.0" encoding="UTF-8"?>
    <transaction name="PaymentInit" version="1"><response type="error"><error_code_tag>CGW000260</error_code_tag><error_text>ERROR - CGW000260-Transaction Amount Missing</error_text></response></transaction>

    I've spoken with my provider customer support and been told to amend one php file by putting a line which would load info from my Zen shopping cart about the price!? Here is how that section of php file looks like (just to mention, this file is at provider server and has a function to connect my shopping cart and the hosted payment page):

    // Get and Store the quantity and price per unit and total price in session for the reciept page.
    $quantity = $_REQUEST['quantity'];
    $pricePerUnit = 12.34;
    $price = $quantity * $pricePerUnit;
    $_SESSION['quantity'] = $quantity;
    $_SESSION['unitPrice'] = $pricePerUnit;
    $_SESSION['totalPrice'] = $price;

    The line which should be changed is in red colour (12.34 is the amount that has remained as an example at the demo shop and should be replaced with the code that reffers to the price).

    I have tried to put this but with no effect:
    $pricePerUnit = $_REQUEST['unitPrice'];

    If you need more info to figure out what goes wrong let me know.

    Many thanks.

 

 

Similar Threads

  1. Paypal orders missing transaction details
    By sss2012 in forum PayPal Website Payments Pro support
    Replies: 6
    Last Post: 11 Jul 2014, 04:26 PM
  2. PayPal transaction data missing suddenly
    By split63 in forum PayPal Express Checkout support
    Replies: 37
    Last Post: 13 Aug 2012, 06:15 PM
  3. iTransact Module: This transaction amount is not allowed
    By mattfrand in forum Addon Payment Modules
    Replies: 0
    Last Post: 10 Aug 2011, 05:35 PM
  4. There was a problem refunding the transaction amount specified.
    By p1lot in forum PayPal Website Payments Pro support
    Replies: 1
    Last Post: 23 Sep 2010, 08:37 PM
  5. 10525 This transaction cannot be processed. The amount to be charged is zero.
    By oomlus in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 4 Aug 2010, 06:22 AM

Posting Permissions

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