Function __global->paid_amount_matches

Definitions

sources/ecommerce.php

  • See if the transaction is for the correct amount.We cannot check for transaction fee because we cannot reliably predict it.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$price REAL required parameter N/A N/A Transaction price (this should exclude tax, shipping, and fees)
$tax REAL required parameter N/A N/A Transaction tax amount
$shipping REAL required parameter N/A N/A Transaction shipping amount
$expected_price REAL required parameter N/A N/A Transaction price expected (this should exclude tax and shipping)
$expected_tax REAL required parameter N/A N/A Transaction tax amount expected
$expected_shipping REAL required parameter N/A N/A Transaction shipping amount expected

Return

  • Whether it is
  • Type: boolean
  • Set: N/A
  • Range: N/A