Français English Español Deutsch
 
Une question ? Posez la sur notre tchat en ligne

9,00 €

<?php

include "class.stripe.php";

$class_stripe = new StripePaiement();
$class_stripe->setApiSecretKey("CLE_SECRET_API");
$class_stripe->setApiPublisherKey("CLE_PUBLISHABLE_API");

// Afficher le bouton de paiement Stripe
echo $class_stripe->showButtonPaiement('2,99','Le super produit','','fr','Payer par carte bancaire','eur',$array);

?>
$array = $class_stripe->getReturnPaiement('2,99','eur','Le super produit');
if(count($array) != 0)
{
    if($array['validate'])
    {
        echo 'Paiement accepter';
        print_r($array);
        exit;
    }
    else
    {
        echo 'Paiement error : '.$array['msg_error'];
    }
    exit;
}
<?php

include "class.stripe.php";

$class_stripe = new StripePaiement();
$class_stripe->setApiSecretKey("CLE_SECRET_API");
$class_stripe->setApiPublisherKey("CLE_PUBLISHABLE_API");

$array = $class_stripe->refundTransaction("ID_DE_LA_TRANSACTION_A_REMBOURSER");
print_r($array);

?>
<?php

include "class.stripe.php";

$class_stripe = new StripePaiement();
$class_stripe->setApiSecretKey("CLE_SECRET_API");
$class_stripe->setApiPublisherKey("CLE_PUBLISHABLE_API");
$array = $class_stripe->getBalanceStripe();

print_r($array);

?>

Wer sind wir?

Shua Création ist ein Herausgeber von Software und innovativen Lösungen für die breite Öffentlichkeit und Unternehmen. Wir bieten Ihnen zahlreiche Skripte, Anwendungsvorlagen und Templates für Ihre zukünftigen Projekte. Unser Motto ist es, Ihnen mit qualitativ hochwertigen Tools wertvolle Zeit zu sparen.

Folgen Sie uns

Wir akzeptieren Zahlungsmethoden

Visa Mastercard Discover American Express Western Union