Git Product home page Git Product logo

glovo-api-php's Introduction

Hi there 👋

My name is Valentin and I'm a developer living in La Plata, Argentina. I'm a fullstack dev and I like motorcycles a lot, hope you find something useful. :)

glovo-api-php's People

Contributors

adanmauri avatar vmari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glovo-api-php's Issues

Error en estimateOrderPrice

Hola buenas! Tienen idea si el plugin sigue funcionando? Lo baje para hacer algunas pruebas y no me funciona. Un cambio que detecte al parecer desde el lado de glovo es que el parámetro de longitud ahora lo llaman lon en lugar de lng, asi que hice ese pequeño cambio localmente y ahora realiza la llamada para estimar el precio del envío pero siempre recibo el mensaje de error sin mucho mas detalle.

No logro conectarme a la API

Buenos días
Mi pregunta es, para conectarse al B2B Sandbox/Test se necesita agregar una tarjeta de crédito?
Ya que lo he intentado pero obtengo el siguiente error:

        $api = new Api( "155681517774663", "3c48877130984ee6b0555ded0abb0318" );
        $api->sandbox_mode( true );
        $sourceDir = new Address( Address::TYPE_PICKUP, -34.919861, -57.919027, "Diag. 73 1234", "1st floor" );
        $destDir = new Address( Address::TYPE_DELIVERY, -34.922945, -57.990177, "Diag. 73 75", "3A" );
        $order = new Order();
        $order->setDescription( "1 big hammer" );
        $order->setAddresses( [$sourceDir, $destDir] );
        $order->setScheduleTime( ( new \DateTime( '+1 hour' ) )->setTime( 19, 0 ) );

        $orderEstimate = $api->estimateOrderPrice( $order );
        echo "Estimado: {$orderEstimate['total']['amount']}{$orderEstimate['total']['currency']} \n";
{"error":{"userInfo":{},"requestId":"8943866910433861583","domain":"com.glovoapp.core-services","message":"Error: 8943866910433861583"}}

Ahora cuando entro al portal Sandbox/Test y trato de registrar una tarjeta, esta no se logra registrar

dev1
dev2

Ahora en el B2B Production cuando entro, el formulario se presenta de forma diferente
pro1

No se si es una falla o algo me falta configurar en mi cuenta del sandbox

Saludos
Gracias

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.