With Paytronix Online Ordering, integrators have the ability to collect order payment outside of our platform and submit orders as prepaid.
Prepaid integration orders should be submitted with a payment_type of 'integration'.
It is recommended that integrators authorize a card before order submission and capture the funds after an order is accepted by the restaurant (accounting for manual confirmation if enabled). Order submission can fail for several reasons, and waiting to capture the funds means the transaction doesn’t need to be refunded if it fails. If capture happens before submission, the integration must handle refunding failed submissions.
Orders with integration payments must submit a payment transaction token for tracking purposes. The payment transaction token should be a value that can be shared with the integrator/merchant to look up specific payment transactions. This will typically identify the auth transaction, since the capture won’t have happened prior to submission (based on the recommendation above).
Prepaid integration orders should be submitted with a 'payment_transaction_token' field where the value uniquely identifies the payment transaction. Paytronix only verifies that this field is populated and cannot verify it corresponds to a real transaction. The final order will have this token in a paid field that tracks the payment transaction.
Refunds will be disabled for orders prepaid by an integration. Refunds must be initiated through the integration collecting the payment.
There is required configuration on the integration level, the merchant, and the restaurant level. All configuration steps must be completed before integration payments can be accepted.