Setup
Follow the Stripe setup instructions before configuring OXXO.Features
Stripe OXXO payments support the following features:- Webhook integration - Receive asynchronous payment updates
- Redirect checkout - Redirect buyers to complete the cash voucher flow
- Zero auth - Verify a payment method without capturing funds
Supported countries
Stripe supports transactions from buyers inMX.
Supported currencies
Stripe supports processing payments inMXN.
Limitations
The following features are not supported by this connector:- Refunds - Refunds are not supported
- Partial refunds - Partial refunds are not supported
- Partial capture - Capturing a portion of the authorized amount is not supported
- Delayed capture - Authorization and capture must happen together
- Over-capture - Capturing more than the authorized amount is not supported
- Void - Canceling an authorization is not available
- Payment method tokenization - Storing payment methods for recurring transactions is not supported
- Transaction sync - Automated status synchronization is not available
- Settlement reporting - Settlement reporting is not available
- Deep linking - Direct app linking is not supported
- Partial authorization - Authorizing only a portion of the requested amount is not supported
Configuration
For shared APM credentials, see Stripe APM credentials.Approval URL (optional)
By default, the connector returns an approval URL that redirects buyers to a Stripe-hosted page with instructions for completing an OXXO cash payment. If required, you can set a different approval URL here which allows you to build your own page for showing the OXXO voucher to buyers. When set, the Approval URL is returned with a Session Token appended as a query parameter namedtoken. This Session Token can be used with the Transaction Session API to retrieve the details required to build your own page.
Webhooks
OXXO payments are completed asynchronously, so you must configure webhooks to update the status of transactions. Webhooks are configured in the Stripe Dashboard within Developer Settings under Webhooks. The OXXO connector relies on the following Stripe webhook event:payment_intent.succeeded
Integration
The default integration for OXXO via Stripe uses a redirect to payments page hosted by Stripe.Redirect integration
Start by creating a new transaction with the following required fields.payment_method.approval_url and a
processing status.
approval_url where they see an OXXO voucher and instructions to complete the cash payment.
Once the buyer completes the cash payment at an OXXO location, the transaction progresses to a capture_succeeded state in response to a webhook from Stripe.
Direct integration
If you intend to use your own hosted page for presenting the buyer with the OXXO voucher, you can include anintegration_client parameter set to web, ios or android when creating a new transaction.
session_token which can be used to get the session data for the transaction, which can be used to build a custom page for displaying the OXXO voucher.