|
Basic integration: | |
| Horizontal: |
|
| Vertical: |
|
|
iFrame Basic integration: |
|
|
|
|
|
iFrame no carousel integration: | |
|
| |
|
API no carousel country filtered integration: | |
| prepareTransaction(array( 'site_id' => $site_id, 'pricepoint_id' => 22, 'product_name' => $product_name, 'forward_url'=> $forward_url, 'amount' => $amount, 'reference_currency' => 'EUR', )); $url = $response->getBuyUrl(); ?> |
<?php
|
|
API full customer integration: | |
|
getOnetimePricing(array('site_id' => $site_id, 'product_id' => $product_id, 'country' => 'FR', 'type' => 'premium-sms'));
$objDOM = new DOMDocument("1.0","utf-8");
$objDOM->loadXML($response);
$pricing = $objDOM->getElementsByTagName("market");
$obj = @new SimpleXMLElement(trim($response));
$market = $obj->markets->market;
$id = array();
foreach ($market->pricepoint as $pricepoint) {
$id = $pricepoint['id'];
$price[(int)$id] = $pricepoint;
$keyword = $pricepoint->keywords->keyword['name'];
$shortcode = $pricepoint->keywords->keyword['shortcode'];
echo 'Pour recevoir votre code par SMS envoyez ' .
' ' . $keyword . ' au ' . $shortcode . '' . ' ' . $pricepoint->description; } ?> Entrez votre code d'accès pour obtenir votre achat : |
<?php
' . $keyword . ' au ' . $shortcode . '' . ' ' . $pricepoint->description; } ?> Entrez votre code d'accès pour obtenir votre achat : |