wafle_gateways_create
Create a payment gateway for your wafle store to accept payments via MercadoPago, Stripe, or transfer. Supply the required credentials for the chosen provider, then run a test to verify before pointing a store to it.
Instructions
Create a new gateway. Types:
mp_ar | mp_mx | mp_co | mp_cl: MercadoPago, requirescreds.access_token+creds.public_key.stripe: requirescreds.secret_key+creds.publishable_key.transfer: requiresmeta.cbu,meta.cbu_alias,meta.cbu_titular,meta.cbu_cuit.
After creating, run wafle_gateways_test to verify credentials before pointing a store at it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Provider-specific metadata. | |
| name | Yes | ||
| type | Yes | ||
| creds | No | Provider-specific credentials. | |
| active | No | ||
| currency | Yes | ||
| store_slug | No | Optional: associate the gateway with a store on creation. | |
| description | No |