Summary
When an order sells one or more gift cards, the integration raises a separate gift card ticket from that order and transfers it into iPaaS.com as its own Transaction of type Ticket. The ticket carries only the gift-card portion of the originating order — the gift card lines, their payments, and the gift-card share of the totals — and it is linked back to the order's Transaction as its parent.
The ticket is identified by an order number ending in -GC. That suffix is applied by the integration itself when it raises the ticket; it is not a store naming convention and subscribers do not configure anything in Magento to produce it.
Four child collections write the ticket's lines, tax, and payments onto the same Transaction. The transfer is unidirectional.
ID Format
Manual Sync ID Format
Enter the gift card ticket's record identifier — the originating Magento order record identifier with the -GC suffix appended, for example 1234-GC.
The plain order record identifier without the suffix resolves the originating order rather than the ticket.
External ID Format
After a successful transfer, iPaaS.com stores the gift card ticket's identifier as the external ID on a record linking it to the iPaaS.com Transaction. The ticket's own TransactionNumber carries the suffixed order number, and a separate mapping records the underlying Magento entity identifier.
The ticket is also linked to its originating order: the ParentId mapping strips the -GC suffix from the ticket's identifier and looks up the Transaction created for that order, so the ticket hangs beneath the order rather than standing alone.
Deleted Record Support
Outbound delete is not supported for gift card tickets. Removing an order or ticket in Adobe Commerce/Magento 2 does not remove the corresponding Transaction from iPaaS.com, and delete mappings are not included in the default templates for this family.
Custom Field Support
Several destination fields in this family are iPaaS.com custom fields rather than standard Transaction fields, and must exist in the subscriber's environment before the mappings that populate them will land:
Mage Entity ID on the Transaction, recording the underlying Magento order entity identifier.
Giftcard Number, Giftcard Message, and Giftcard Shippedto Recipient on the Transaction Line.
Giftcard Number and AuthCode on the Transaction Payment.
Mapping Collection Status
Status: Enabled. All five collections in this family ship enabled.
Trigger Events: Creation or update of a gift card ticket raised from an order in Adobe Commerce/Magento 2, plus Manual Sync on demand.
Adobe Commerce/Magento 2 has no native webhook capability, so automatic transfers depend on the third-party webhook extension being installed and configured in the Magento store. Manual Sync is always available regardless.
Duplicate or Conflicting Mappings
Two other parent collections read the same underlying Adobe Commerce/Magento 2 orders and are separated from this one only by the order-number suffix in their filters:
Add/Update Adobe Commerce/Magento 2 Order TO iPaaS.com processes ordinary orders — those whose order number ends in neither -D nor -GC.
Add Adobe Commerce/Magento 2 Deposit Ticket TO iPaaS.com processes the orders whose order number ends in -D.
Because all three families operate over the same underlying orders, the suffix conditions in the three filters are what prevent one record from being processed twice into conflicting Transactions. Subscribers or their MiSP should review all three filters together before enabling or modifying any of them. Loosening the suffix condition on any one collection can cause the same record to be written by more than one.
This family also depends on Add Adobe Commerce/Magento 2 Gift Card TO iPaaS.com. The gift card lines and gift-card payments here resolve a card by its number, so the card must already have been transferred into iPaaS.com or those lines and payments cannot be linked.
Duplicate matching
This integration implements no selectable collision-handling methods, and the behavior is not configurable on these collections. The external-ID record linking the ticket to its iPaaS.com Transaction decides whether a transfer creates or updates; TransactionNumber acts as the fallback match where no link yet exists.
Unmapped field overwrite risk
When a ticket is re-transferred, the mapped values are written again over the existing Transaction. The fields at risk are, on the header, Mage Entity ID, SystemId, TransactionNumber, ParentId, Type, Status, EmailAddress, DiscountAmount, TaxAmount, ShippingAmount, Subtotal, Total, TotalQty and TransactionCreatedDateTime — together with the line, tax and payment values written by the four child collections.
The mitigation is a DestinationValue. Where an iPaaS.com field must hold a specific value that the source ticket does not supply, set a DestinationValue on that mapping so the integration writes the value chosen there instead of taking it from the source. Values that must be maintained only in iPaaS.com should be kept on fields these collections do not map.
Supported Child Collections
The parent collection is Add/Update Adobe Commerce/Magento 2 Gift Card Ticket TO iPaaS.com. It is the parent of four child collections, each of which writes its records onto the Transaction created or updated by the parent and none of which transfers independently of it:
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket Line TO iPaaS.com: the ticket's gift card lines.
Add Adobe Commerce/Magento 2 Gift Card Ticket Tax TO iPaaS.com: the ticket's single consolidated tax record.
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket Payment TO iPaaS.com: payments for every tender other than gift card.
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket Payment Gift Card TO iPaaS.com: gift card tender payments.
System Caveats
Adobe Commerce/Magento 2 Caveats
The ticket is raised by the integration, not by Magento. The -GC suffix and the ticket record itself are produced by the integration from the originating order. Nothing needs to be configured in Magento to create them.
Gift card capability is supplied by an extension. The fields available on a gift card line depend on the gift card extension the store runs.
Gift-card lines are matched on one product type. The line collection matches the giftvoucher product type. A store whose gift-card products use a different product type, such as amgiftcard, must update this filter and the line Type formula, or those lines will not be captured on the ticket. The complete list of values to change is in the Adobe Commerce/Magento 2 Known Limitations article.
Ticket retrieval is subject to Magento's API limits. Stagger large manual catch-up runs rather than issuing them concurrently.
iPaaS.com Caveats
The originating order must have transferred first. The ParentId mapping resolves the Transaction created for the order the ticket was raised from. If that order has not transferred, the ticket has no parent to attach to.
The gift card must exist in iPaaS.com. Both the gift card lines and the gift-card payments resolve a card by its number. A card that was never transferred has no Gift Card record to link to, and the line or payment fails.
A customer identity must be resolvable. Every Transaction must be tied to a customer; this family satisfies that through the order's email address.
Payment methods must be configured. The translated payment method value must match a Payment Method configured in the subscriber's iPaaS.com environment, or the payment cannot be written.
Integration-Specific Caveats
The ticket's totals are gift-card only. Subtotal and Total are both the total value of gift cards sold on the order, and TotalQty is the count of gift cards sold — not the order's own totals. The ticket deliberately represents only the gift-card portion of the order.
Subtotal and Total are the same value. Neither adds tax, shipping or discount, so the ticket's total is the gift-card sale value alone even where the originating order carried tax or shipping.
Gift-card totals do not account for line quantity at the time this documentation was written. A gift-card line with a quantity greater than one may contribute less than its full value to the ticket's totals. Subscribers or their MiSP whose stores sell multiple gift cards on one line should verify the resulting ticket totals before relying on them.
Line and payment statuses differ from the order family. Gift card ticket lines are recorded as Complete and its payments as Captured, where the equivalent order collections use Pending and Complete.
The created date comes from the order. Unlike the order family, which stamps the transfer time, this family reads the originating record's created date and falls back to a fixed placeholder date only when that value is missing.
Setup Requirements
Adobe Commerce/Magento 2 Configuration
Confirm the gift card extension is installed and that gift card lines carry a card number.
Install and configure the third-party webhook extension if tickets should transfer automatically.
iPaaS.com Configuration
Enable Add Adobe Commerce/Magento 2 Gift Card TO iPaaS.com and load the store's existing cards first, so redeemed and sold cards resolve.
Confirm the order family is enabled and orders are transferring, since the ticket links to the originating order's Transaction.
Review the payment method Lookup Translation and confirm every destination value matches a Payment Method configured in the environment.
Create the iPaaS.com custom fields listed under Custom Field Support above.
Review the filters on this collection and on the order and deposit ticket parents together, confirming the three families remain mutually exclusive.
Enable the inbound flow for Adobe Commerce/Magento 2 orders on the subscription's Inbound Data Flows page.
Full step-by-step setup instructions are in the Adobe Commerce/Magento 2 Installation Instructions article, and the webhook extension setup is covered in Configure Mageplaza Webhooks for iPaaS.com.
Integration Flow
An order containing one or more gift card lines is placed in Adobe Commerce/Magento 2 and transfers to iPaaS.com through the order family.
The integration raises a gift card ticket from that order, giving it the order's identifier with a -GC suffix.
The ticket is evaluated against this collection's filter, which admits only records whose number ends in -GC.
The ParentId mapping strips the suffix and looks up the Transaction created for the originating order, so the ticket is attached beneath it.
The parent mappings populate the ticket header, with the totals derived from the gift cards sold on the order rather than from the order's own totals.
The child collections write the ticket's gift card lines, its single tax record, and its payments onto the same Transaction. Each gift card line resolves its card to the iPaaS.com Gift Card record created earlier.
Prerequisite Handling
The gift cards sold on the originating order are transferred into iPaaS.com automatically as a prerequisite of that order's transfer, before any ticket is raised. Prerequisite processing is deliberately skipped for the ticket itself — a record whose number ends in -GC or -D returns immediately, because its prerequisites were already handled by the order it came from.
The practical consequence is that a ticket cannot be relied upon to bring its own gift cards or customer with it. If the originating order failed to transfer, the ticket will be missing both its parent Transaction and, potentially, the Gift Card records its lines refer to.
Mappings
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket TO iPaaS.com (Parent)
iPaaS.com data type: Transaction
Mapping Filter
IncrementId.EndsWith("-GC")This collection processes only records whose order number ends in -GC, the suffix the integration applies when it raises a gift card ticket from an originating order. Ordinary orders and deposit tickets do not pass and are handled by their own families. Records that do not pass are skipped without error.
Note that, unlike the order and deposit ticket parents, this filter carries no fraud-status exclusion. A gift card ticket raised from an order that Magento later flags as suspect is still processed here.
Mapping Type | Source Field (Adobe Commerce/Magento 2) | Destination Field (iPaaS.com) | Description |
Dynamic Formula |
| SystemId | Required. Resolves the current subscription's system identifier. Do not change or remove this mapping. |
Field | IncrementId | TransactionNumber | Required. The suffixed ticket number. Also the fallback duplicate-detection key. |
Static |
| Type | Required. Fixed so gift card tickets land in the ticket bucket downstream rather than with ordinary orders. |
Lookup Translation | Lookup Translation: M2 Transaction Status To iPaaS | Status | Required. Translates the Magento order status into an iPaaS.com transaction status. An unmatched status sends no value and raises no error. |
Dynamic Formula |
| ParentId | Required. Links the ticket to its originating order by stripping the three-character -GC suffix from the identifier and looking up that order's Transaction. If the originating order has not transferred, no parent is resolved. |
Field | CustomerEmail | EmailAddress | Recommended. Ties the Transaction to a customer. |
Dynamic Formula |
| Subtotal | Recommended. The total value of gift cards sold on the originating order — not the order's own subtotal. |
Dynamic Formula |
| Total | Recommended. The same gift-card sale value as the subtotal. Tax, shipping and discount are not added. |
Dynamic Formula |
| TotalQty | Recommended. The count of gift cards sold on the originating order. |
Field | DiscountAmount | DiscountAmount | Recommended. The originating order's discount total, carried for reference. |
Field | TaxAmount | TaxAmount | Recommended. The originating order's tax total, carried for reference. |
Field | ShippingAmount | ShippingAmount | Recommended. The originating order's shipping total, carried for reference. |
Field | EntityId | Mage Entity ID (custom field) | Optional. Records the underlying Magento order entity identifier on the ticket. |
Dynamic Formula |
| TransactionCreatedDateTime | Optional. The originating record's created date. Placeholder value — replace during implementation: the fallback date 01/01/2000 is a sentinel used only when the source has no created date; a ticket carrying it indicates a missing source value rather than a real date. |
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket Line TO iPaaS.com (Child)
iPaaS.com data type: Transaction Line
Mapping Filter
ProductType == "giftvoucher"
This collection writes the ticket's gift card lines. A line passes only when its Magento product type is a gift voucher. Because the ticket exists to represent the gift-card portion of an order, this is the only line collection beneath it — ordinary product lines on the originating order are carried by the order family instead.
Mapping Type | Source Field (Adobe Commerce/Magento 2) | Destination Field (iPaaS.com) | Description |
Dynamic Formula |
| LineInfo | Required for gift-card lines. Resolves the line's gift card number to the matching iPaaS.com gift card and records its identifier under a GiftCardId entry. A line whose card cannot be resolved fails to transfer. |
Dynamic Formula |
| Type | Required. Resolves to Gift Card for every line this collection processes. |
Static |
| Status | Required. Gift card ticket lines are recorded as complete, unlike order lines which are staged as pending. |
Dynamic Formula |
| Sku | Required. Takes the line SKU, replaces forward slashes with hyphens, and strips any unit suffix. Also the line match key on re-sync. |
Field | giftcardnumber | Giftcard Number (custom field) | Recommended. The human-readable gift card code, and the value the line's gift card lookup resolves. |
Field | Description | Description | Recommended. The gift-card item name on the line. |
Field | QtyOrdered | Qty | Recommended. Ordered quantity. |
Dynamic Formula |
| UnitPrice | Recommended. Net price per unit after the per-unit share of the line discount. Ensure the quantity source is present and greater than zero. |
Field | RowTotal | ExtendedPrice | Recommended. Extended line amount before line-level tax. |
Field | DiscountAmount | DiscountAmount | Recommended. Line-level discount amount. |
Field | giftcardcustommessage | Giftcard Message (custom field) | Optional. The personalized message entered at checkout. |
Field | giftcardshippedtorecipient | Giftcard Shippedto Recipient (custom field) | Optional. The intended recipient of the gift card. |
Field | OriginalPrice | OriginalUnitPrice | Optional. Pre-discount unit price. |
Field | DiscountPercent | DiscountPercent | Optional. Line-level discount percentage. |
Field | TaxPercent | TaxPercent | Optional. Line-level tax rate. |
Field | Weight | Weight | Optional. Item weight. |
Add Adobe Commerce/Magento 2 Gift Card Ticket Tax TO iPaaS.com (Child)
iPaaS.com data type: Transaction Tax
This collection carries no mapping filter. It runs against every ticket the parent transfers and writes a single consolidated tax record.
Mapping Type | Source Field (Adobe Commerce/Magento 2) | Destination Field (iPaaS.com) | Description |
Dynamic Formula |
| Authority | Recommended. The taxing authority, from the title of the first applied tax, falling back to a built-in default when the record carries no applied-tax detail. |
Dynamic Formula |
| Amount | Recommended. The whole record's tax rather than a breakdown by jurisdiction or line. |
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket Payment TO iPaaS.com (Child)
iPaaS.com data type: Transaction Payment
Mapping Filter
Method != "giftcard"
This collection writes the ticket's payments for every tender other than gift card. Gift-card tenders are handled by the sibling collection below.
Mapping Type | Source Field (Adobe Commerce/Magento 2) | Destination Field (iPaaS.com) | Description |
Lookup Translation | Lookup Translation: M2 Transaction Payment Method To iPaaS | Method | Required. The translated value must match a Payment Method configured in iPaaS.com, or the payment cannot be written. |
Dynamic Formula |
| Amount | Recommended. The total value of gift cards sold, rather than the order's paid amount. |
Dynamic Formula |
| Status | Recommended. Set to Captured when any amount has been paid, otherwise Authorized. The order family uses Complete in place of Captured. |
Field | Method | Description | Optional. Preserves the raw Magento method code alongside the translated value. |
Add/Update Adobe Commerce/Magento 2 Gift Card Ticket Payment Gift Card TO iPaaS.com (Child)
iPaaS.com data type: Transaction Payment
Mapping Filter
Method == "giftcard"
This collection writes the ticket's gift card tender payments — that is, where a gift card was used to pay for the gift cards being sold.
Mapping Type | Source Field (Adobe Commerce/Magento 2) | Destination Field (iPaaS.com) | Description |
Dynamic Formula |
| MethodInfo | Required for gift-card payments. Resolves the payment's gift card number to the matching iPaaS.com gift card and records its identifier. The card must already exist in iPaaS.com. |
Lookup Translation | Lookup Translation: M2 Transaction Payment Method To iPaaS | Method | Required. The gift card row is the one that applies here. |
Static |
| Status | Recommended. Gift-card tenders are treated as already collected. |
Dynamic Formula |
| Amount | Recommended. The total value of gift cards sold. |
Field | giftcardnumber | Giftcard Number (custom field) | Optional. Records which gift card was used. |
Field | AuthCode | AuthCode (custom field) | Optional. Preserves the gift-card authorization reference. Note that the source field name is capitalised differently here than on the equivalent order and deposit ticket collections; confirm the value lands before relying on it. |
Field | Method | Description | Optional. Preserves the raw Magento method code. |
Lookup Translations
M2 Transaction Status To iPaaS
Used by the parent collection's Status mapping.
Source Value | Destination Value | Notes |
pending | Pending | |
processing | Pending | |
complete | Complete | |
canceled | Cancelled | |
completing | Complete |
A Magento status with no row here is not translated, no value is sent for Status, and no error is raised. Add a row for every custom status the store uses.
M2 Transaction Payment Method To iPaaS
Used by the Method mapping on both payment collections.
Source Value | Destination Value | Notes |
authnetcim | CASH | |
authorizenet | CASH | |
braintree | CASH | |
checkmo | CASH | |
paypal_express | CASH | |
purchaseorder | CASH | |
giftcard | GC | Applies to the gift card payment collection only. |
Add a row for any payment method the store uses that is not already listed, and confirm each destination value matches a Payment Method configured in the environment. A payment whose method code is missing from this translation will not be matched.
Error Handling
The full catalog of messages this integration produces, with causes and resolutions, is in the Adobe Commerce/Magento 2 Error Messages article. The conditions most often seen on this transfer are:
Error message: No Giftcard assigned to line item marked as gift card. A line is marked as a gift card but the gift card record carries no code. Resolution: confirm the card was issued correctly in Magento for that line, then re-sync.
A gift card reference that cannot be resolved. A line or payment names a card that does not exist in iPaaS.com. Resolution: transfer the card through the gift card collection, then re-sync the ticket.
A ticket with no parent Transaction. The originating order had not transferred when the ticket was processed. Resolution: confirm the order transferred, then re-sync the ticket.
A payment method that is not configured. Resolution: add the missing translation row, or configure the Payment Method in iPaaS.com.
Errors are reported under Dashboard / Integration Monitoring / Error Logs.
Testing & Validation
Test Scenarios
Place an order containing a gift card and confirm both the order Transaction and a separate gift card ticket Transaction of type Ticket arrive in iPaaS.com.
Confirm the ticket is linked to the originating order's Transaction as its parent.
Manually sync using the suffixed identifier and confirm it resolves; confirm the unsuffixed identifier resolves the order instead.
Confirm the ticket's subtotal, total and quantity reflect the gift cards sold rather than the order's own totals.
Sell two gift cards on a single line and verify the resulting ticket totals before relying on them.
Confirm the ticket's lines are recorded as Complete and its payments as Captured.
Pay for a gift card using another gift card and confirm the payment routes to the gift card payment collection and links to the correct card.
Place a gift-card order where the card has not been transferred to iPaaS.com, and confirm the line fails to link; transfer the card and re-sync.
Transfer a ticket whose originating order has not transferred, and confirm no parent is resolved.
Confirm an order containing no gift cards raises no gift card ticket.
Validation Checklist
The gift card collection is enabled and the store's cards are loaded.
The order family is enabled and orders are transferring, so tickets have a parent to attach to.
Every custom field listed under Custom Field Support exists in the iPaaS.com environment.
The payment method translation covers every method the store uses.
The parent filters on the order, deposit ticket and gift card ticket families remain mutually exclusive.
The gift-card product type used by the store matches the value in the line filter.
Additional Notes
The -GC suffix is an integration constant applied when the ticket is raised from an originating order. It is not a store naming convention and requires no configuration in Magento.
The ticket represents only the gift-card portion of an order. Its totals are deliberately the gift-card sale value alone, which is why they do not reconcile to the originating order's totals.
Unlike the order and deposit ticket parents, this collection's filter carries no fraud-status exclusion.
Validate dynamic formulas and filter changes in a staging environment before enabling automatic transfers in production.
