Subiendo proyecto completo sin restricciones de git ignore

This commit is contained in:
Jose Sanchez
2023-08-17 11:44:02 -04:00
parent a0d4f5ba3b
commit 20f1c60600
19921 changed files with 2509159 additions and 45 deletions

View File

@@ -0,0 +1,21 @@
<?php
require_once dirname(__FILE__) . '/../../index.php';
$payment = new MercadoPago\Payment();
$payment->transaction_amount = 100;
$payment->token = "CARD_TOKEN";
$payment->description = "Title of what you are paying for";
$payment->installments = 1;
$payer = new MercadoPago\Payer();
$payer->email = "your.payer@email.com";
$payment->payer = $payer;
$payment->save();
echo "Payment ID: " . $payment->id . "\n";
echo "Payment Status: " . $payment->status . "\n";
?>