E-Payment Integrator 2020 Python Edition

Questions / Feedback?

get_aggregate Method

Returns an aggregate containing level 2 details for a transaction.

Syntax

def get_aggregate() -> str: ...

Remarks

This method returns an aggregate containing the level 2 data specified. This aggregate must be passed to the ICharge class's Level2Aggregate property in order for the level 2 data to be sent in the transaction. Each gateway has different requirements when processing level 2 transactions. Please refer to Level2 to identify which properties are required for the gateway you are implementing.

An example of how this method is used is shown below:


  Level2.PONumber = "123456789"
  Level2.ShipToZip = "27713"
  Level2.TaxAmount = "1.23"
  Level2.IsTaxExempt = false
  ICharge.Level2Aggregate = Level2.GetAggregate()

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 Python Edition - Version 20.0 [Build 7941]