Scheduled automatic capture does not appear.
Payments
•
ID: 1121837
Backlog
Published on10/22/2024
•
Last updated on11/1/2024
1 min read
Summary
The option 'Scheduled: Schedules The Automatic Capture' does not appear in the settings for any Provider that has this configuration enable. According to the 'Custom Auto Capture Feature' documentation, the 'Scheduled: Schedules The Automatic Capture' should be the configuration: https://developers.vtex.com/docs/guides/custom-auto-capture-feature
Simulation
- Access the provider's page in the admin panel.
- Check that there are only 4 options under Automatic Settlement, not 5. The missing option is 'Scheduled: Schedules The Automatic Capture'.
Workaround
autoSettle: The value 4 represents the scheduled capture option.
Here is the API: https://developers.vtex.com/docs/api-reference/payments-gateway-api#put-/api/pvt/affiliations/-affiliationId-
\{ "implementation": "Vtex.PaymentGateway.Connectors.TestConnector", "name": "Test Connector - KI", "configuration": [\{ "name": "autoSettle", "value": "4", "valueKey": null \}, \{ "name": "autoSettleDelay", "value": "20", "valueKey": null \} ... << other configs>>> ...], "isdelivered": true, "isConfigured": true\}