Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • NOT_CURRENTLY_KNOWN — is used to check payment options;
  • ESTIMATED — order amount can be changed later, depending on the response;
  • FINAL — the order amount is final, will not change in the process.

Example of getGoogleTransactionInfo function:

Code Block
languagejs
function getGoogleTransactionInfo() {
  return {
    currencyCode: $('#currency').val(), //order currency
    totalPriceStatus: 'FINAL', //order amount status
    totalPrice: $('#amount').val() //order amount
  };
}