Mercado Pago SDK in Drupal 8

Created on 7 March 2019, over 5 years ago
Updated 9 June 2023, about 1 year ago

Hi,

I am trying to implement MercadoPago in Drupal 8 like "https://github.com/mercadopago/dx-php",
I have all ready but when I try to do this;

require_once 'vendor/autoload.php';

MercadoPago\SDK::setAccessToken("YOUR_ACCESS_TOKEN");

Drupal show me next error

Error: Class 'Drupal\Mercadopago\SDK' not found in Drupal\mercadopago\Controller\MercadoPagoPaymentController->payment() (line 68 of modules/mercadopago/src/Controller/MercadoPagoPaymentController.php).

Somebody coould you help me?

Greetings

🌱 Plan
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡½Mexico oksanchez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΎUruguay Shermany

    Hello dark and company,

    I am pleased to announce that yesterday I managed to integrate Mercado Pago to Drupal 9 and Commerce v2. Initial tests were successful. It only remains to mold a few details. Next week I upload the project to git and publish it to Drupal.

    I advance some details of the module:

    Integration type: Checkout Brincks wallet version (offsite payment)
    Version requirements: ^9.3 || ^10

  • πŸ‡ΊπŸ‡ΎUruguay Shermany

    Sorry, hello raprieto *

    The translator failed me. XD

Production build 0.69.0 2024