submitEvent( )


Updates the status of a transaction or refund.

The submitEvent() function returns a Promise that resolves to void when the status of a transaction or refund is updated.

Use this function with the Payment Provider SPI and HTTP functions to allow payment providers to send your site updates about refunds and transactions.

The status of a transaction or refund is updated based on the properties included in the argument passed to this function. See the code examples for details.

Learn more about implementing a Payment Provider Custom Extension.

Method Declaration
Copy
Method Parameters
submitEventRequestSubmitEventRequestRequired

Submit event request object.

Was this helpful?
Yes
No