Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
11
vendor/mercadopago/dx-php/samples/customer-and-cards/customer/create.php
vendored
Normal file
11
vendor/mercadopago/dx-php/samples/customer-and-cards/customer/create.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__).'/../../index.php';
|
||||
|
||||
$customer = new MercadoPago\Customer();
|
||||
$customer->email = "your.payer@email.com";
|
||||
$customer->save();
|
||||
|
||||
echo "Customer ID: " . $customer->id;
|
||||
|
||||
?>
|
||||
8
vendor/mercadopago/dx-php/samples/customer-and-cards/customer/remove.php
vendored
Normal file
8
vendor/mercadopago/dx-php/samples/customer-and-cards/customer/remove.php
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__).'/../../index.php';
|
||||
require_once dirname(__FILE__).'/create.php';
|
||||
|
||||
$customer->delete();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user