Active
Project:
Mercado Pago Payment
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Plan
Assigned:
Issue tags:
Reporter:
Created:
7 Mar 2019 at 18:53 UTC
Updated:
9 Jun 2023 at 20:35 UTC
Jump to comment: Most recent
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
Comments
Comment #2
jrviorato commentedCan you show me your code? Only the error is not enough to find the problem.
Have you uploaded your code somewhere? Do you have a sandbox project or something?
Best,
Jesus
Comment #3
joelibaceta commentedHi, MercadoPago SDK assume you are using composer for the SDK installation, maybe you can use a simple client rest to use the Payments API.
Comment #4
danrodAny status of this issue? is anyone doing any port of this module for Drupal 8? I would like to contribute some time on it.
Comment #5
jrviorato commentedHi @danrod, I am the manager of this module (MercadoPago payment module). And I am not working on porting it to Drupal 8 and I don't know anyone doing it. If you have time and you would like to do it, I am happy to help you with whatever you need. Right now I have this project abandoned because I have no time to work on it.
Let me know whatever you need.
Best,
Jesus
Comment #6
danrodHello @jrviorato can I be co-maintainer of this module? I would like to create a new branch for the D8 module and then push it.
Thanks in advance,
Daniel R.
Comment #7
jrviorato commentedI got distracted with some other issues at work. But I am back now. I granted you commit and maintain issues access.
You can now submit your ported version whenever is ready.
Thanks,
Jesus
Comment #8
danrodThanks @jrviorato, I will have a look on this soon.
Comment #9
pepemty commentedHey there!
Any advance on this issue...?
Warm regards.
Comment #10
jidrone commentedHi Everyone,
I'm also interested in MercadoPago and Commerce in Drupal 8, I don't see any release for D8.
I want to have a common web checkout process redirecting to Mercado Pago to do the Payment and then taking the user back to store when finish.
If you have any progress, I'm willing to help with code.
Comment #11
danrodHello @jidrone,
I have a mockup contrib module that implements MercadoPago as a Gateway Payment for Drupal Commerce 2, I think I will push it to github first, and we can continue from there, hopefully it should be online this weekend.
Comment #12
jidrone commentedHi @danrod,
That's a great news, I will wait for your update.
Thank you.
Comment #13
jidrone commentedHi @danrod,
Any progress pushing the code?
If you agree, we can just create a Drupal 8 dev branch with your code so that I can help you coding.
Then we can modify this issue title and details with the remaining tasks.
Regards.
Comment #14
ramirojoaquin commentedHi, i am very interested also in having a mercadopago gateway for drupal 8.
I am not an advanced developer but i can help with testing and whatever else is needed.
Is there anything uploaded to github?
Comment #15
martin gersbach commentedHola,
Que curioso que nadie haya contribuido este módulo...
será un tema de financiamiento?
cuanto puede costar el desarrollo de ese module?
Comment #17
raprieto commentedHi to all,
I'm interested to participate in porting Mercado Pago SDK into Drupal 9 and Commerce 2.x.
@Shermany, what is the status of the project you have started?
@danrod, any update you can give us about this?
I saw there is another project initiated by @matiasmiranda here: https://www.drupal.org/project/mercadopago_api
All these projects are empty. So I'm not sure who has started to work into it and what we have already.
I'm open to participate as developer as well.
Thank you guys,
Rod