توضیحات
PagoForms connects WPForms with Mercado Pago Checkout Pro, enabling you to accept payments from across Latin America directly through your WordPress forms.
Supported Payment Methods
- Credit cards (Visa, Mastercard, American Express, and local cards)
- Debit cards
- Cash payments (Rapipago, PagoFacil, OXXO, Boleto, and more)
- Mercado Pago wallet and balance
- Bank transfers
Supported Countries
- Argentina (ARS)
- Brazil (BRL)
- Mexico (MXN)
- Colombia (COP)
- Chile (CLP)
- Uruguay (UYU)
- Peru (PEN)
How It Works
- Create a WPForms form with payment fields (Single Item, Total, Email)
- Enable Mercado Pago in the form’s payment settings
- Users fill out your form and are redirected to Mercado Pago’s secure checkout
- After payment, users return to your site with a confirmation
- Payment status is updated automatically via webhooks
Requirements
- WordPress 5.8 or later
- WPForms Lite or Pro 1.8.0 or later
- A Mercado Pago account with API credentials
- PHP 7.4 or later
External Services
This plugin connects to the Mercado Pago API to process payments. When a user submits a form with Mercado Pago enabled, the following data is sent to Mercado Pago’s servers:
- Payment amount and currency
- Item title and description
- Payer email address (if provided)
- Your site URL (for return redirects and webhooks)
Mercado Pago API endpoints used:
* https://api.mercadopago.com/checkout/preferences (create payment preferences)
* https://api.mercadopago.com/v1/payments/{id} (verify payment status)
* https://api.mercadopago.com/users/me (connection test)
By using this plugin, you agree to Mercado Pago’s terms:
* Mercado Pago Terms of Service
* Mercado Pago Privacy Policy
نصب
- Upload the
pagoformsfolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu
- Go to PagoForms > Settings in the WordPress admin menu
- Enter your Mercado Pago Access Token (sandbox for testing, live for production)
- Select your currency
- Create or edit a WPForms form, go to Payments > Mercado Pago, and enable it
Getting Your Mercado Pago Credentials
- Log in to the Mercado Pago Developers Dashboard
- Go to Your Integrations > Create application (or select existing)
- Navigate to Credentials
- Copy the Access Token (test for sandbox, production for live payments)
سوالات متداول
-
Does this work with WPForms Lite?
-
Yes, WPForms Lite includes payment fields. However, the payment tracking features (WPForms > Payments screen) require WPForms Pro.
-
Can I test payments without real money?
-
Yes. Enable Sandbox Mode in PagoForms > Settings and use your test Access Token. Use test card names like “APRO” for approved, “OTHE” for rejected.
-
What happens if the user closes the browser during payment?
-
Mercado Pago sends webhook notifications to your site. Even if the user does not return to your site, the payment status will be updated automatically.
-
Does it support recurring payments?
-
Not in this version. Recurring payments via Mercado Pago Preapproval API will be available in a future premium version.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“PagoForms: Mercado Pago Payments” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “PagoForms: Mercado Pago Payments” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
گزارش تغییرات
1.0.2
- Improved webhook signature validation with timestamp tolerance check
- Added idempotency guards to prevent duplicate payment meta on webhook retries
- Added admin notice when webhook secret is empty in live mode
- Updated smoke test to be version-agnostic
1.0.1
- Fixed version consistency across plugin header and constants
- Minor internal improvements to payment verification flow
1.0.0
- Initial release
- Mercado Pago Checkout Pro integration (redirect flow)
- Support for 7 Latin American countries and currencies
- Webhook handler for asynchronous payment updates
- Server-side payment verification
- x-signature webhook validation
- Sandbox/live mode toggle
- Connection test button
