PHP code example of relaypoint / mondialrelay
1. Go to this page and download the library: Download relaypoint/mondialrelay library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
relaypoint / mondialrelay example snippets
php
$o = (new GatewayFactory())->create('MondialRelay');
$o->setParameter('login', 'your login or enseigne code');
$o->setParameter('privateKey', 'your private key');
$a = $o->search(array('zip' => '75004', 'serviceCode' => '24R', 'weight' => 12000));
var_dump($a);