glovo-api-php
glovo-api-php copied to clipboard
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
Ahora en el B2B Production cuando entro, el formulario se presenta de forma diferente
No se si es una falla o algo me falta configurar en mi cuenta del sandbox
Saludos Gracias
Same issue!!
I can get estimated price order, but can not create orders because doesn't have associated creditcard, But in the sandbox i am unable to associate a card!!!

Solved El ambiente sandbox esta desactualizado, tiene muchas inconsistencias. Me recomiendan usar el productivo.
Obrigado! 🙂
De: leshcoff [email protected] Enviado: 21 de junho de 2019 01:50 Para: vmari/glovo-api-php Cc: David Câmara; Comment Assunto: Re: [vmari/glovo-api-php] No logro conectarme a la API (#2)
Solved El ambiente sandbox esta desactualizado, tiene muchas inconsistencias. Me recomiendan usar el productivo.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vmari/glovo-api-php/issues/2?email_source=notifications&email_token=ADU5QW5YROGT2KSCDRD3CZDP3QXW5A5CNFSM4HKAMDVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYHGBJI#issuecomment-504258725, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADU5QW6N42U7GU3UUWGV65TP3QXW5ANCNFSM4HKAMDVA.
I am having the same problem, but in order to test the api, do I have to generate expenses on my credit card? How can I test my development?