Versions Compared

Key

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

When the Gateway creates an invoice for a scheduled payment, it captures all relevant details from the Gateway Event. These specifics, including the payment amount, due date, and associated account information, are then securely stored in this location for future reference and processing.

In the Gateway Invoice, there is a function where you can cancel an open invoice. See https://posimente.atlassian.net/wiki/spaces/~641d437d407493675d47acc3/pages/250937357/Gateway+Invoice+-+PosiPay#Invoice-Cancellation

When processing an invoice,

  • An invoice will be generated and the payment will be processed

  • Assuming the webhook events are configured properly:

    • If the PosiPay Settings custom setting’s Charge Will Create Gateway Invoice = TRUE,

      image-20250106-071457.pngImage Added

    • A Gateway Transaction record is created where:

      image-20250106-071525.pngImage Added

    • The Gateway Transaction record is possible to link to the open Gateway Invoice record

      image-20250106-071552.pngImage Addedimage-20250106-071627.pngImage Added

  • If the PosiPay Settings custom setting’s Charge Will Create Gateway Invoice = FALSE,

    image-20250107-021441.pngImage Added
    • Only one Gateway Invoice record is created

      image-20250107-021523.pngImage Added

    • A Gateway Transaction record is created where:

      image-20250107-021622.pngImage Added

    • The Gateway Transaction record will be orphaned for 30 minutes

      image-20250107-021654.pngImage Added

    • Wait for 30 minutes or so for the Gateway Transaction record to be linked to the Gateway Invoice record where Invoice ID = Gateway Transaction’s Invoice ID

      image-20250107-021745.pngImage Added

Invoice Cancellation

In the Gateway Invoice, there is a function where you can cancel an open invoice. A Gateway Invoice record that has invoice status of open can process a cancellation and when you click the Cancel Invoice button a message will pop up confirming the process is successfully cancelled.

...