This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>La Regia Grill - Menú Digital</title> | |
| <!-- Incluye Tailwind CSS para los estilos --> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <!-- Configura la fuente Inter para una mejor legibilidad --> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Simple excel generating from PHP5 | |
| * | |
| * @package Utilities | |
| * @license http://www.opensource.org/licenses/mit-license.php | |
| * @author Oliver Schwarz <oliver.schwarz@gmail.com> | |
| * @version 1.0 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo $_FILES['archivo1']; | |
| echo $_FILES['archivo2']; | |
| echo $_POST['nombre']; | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| header('Access-Control-Allow-Origin: *'); | |
| //require_once("lib/Conekta.php"); | |
| $token_id = $_POST['token']; | |
| require_once("conekta-php/lib/Conekta.php"); | |
| \Conekta\Conekta::setApiKey("key_wCompRCasdWsQmjFvNNWryQ"); | |
| \Conekta\Conekta::setApiVersion("2.0.0"); | |
| //$token_id=$_POST['token']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| header('Access-Control-Allow-Origin: *'); | |
| $token = $_POST['token_app']; | |
| require_once("conekta-php/lib/Conekta.php"); | |
| \Conekta\Conekta::setApiKey("key_XXXXXXXXXX"); | |
| \Conekta\Conekta::setApiVersion("2.0.0"); | |
| try{ | |
| $customer = \Conekta\Customer::create( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| header('Access-Control-Allow-Origin: *'); | |
| //require_once("lib/Conekta.php"); | |
| require_once("conekta-php/lib/Conekta.php"); //4.0.4 | |
| \Conekta\Conekta::setApiKey("key_XXXXXXXX"); | |
| \Conekta\Conekta::setApiVersion("2.0.0"); //API 2.0.0 | |
| //$token_id=$_POST['token']; | |
| try{ | |
| $order = \Conekta\Order::create(array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| header('Access-Control-Allow-Origin: *'); | |
| //require_once("lib/Conekta.php"); | |
| require_once("conekta-php/lib/Conekta.php"); //4.0.0 | |
| \Conekta\Conekta::setApiKey("key_wCompRCWsQmjFvNNWgGryQ"); | |
| \Conekta\Conekta::setApiVersion("2.0.0"); //API 2.0.0 | |
| //$token_id=$_POST['token']; | |
| try{ | |
| $order = \Conekta\Order::create(array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| curl -H "Accept: application/vnd.conekta-v2.0.0+json" \ | |
| -H "Content-type: application/json" \ | |
| -u key_wCompRCWsQmjFvNNWgGryQ: \ | |
| -X POST -d '{ | |
| "currency": "MXN", | |
| "customer_info": { | |
| "customer_id": "cus_2j9UbTbPwVANCprzg", | |
| "antifraud_info": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| header('Access-Control-Allow-Origin: *'); | |
| //require_once("lib/Conekta.php"); | |
| require_once("conekta-php/lib/Conekta.php"); | |
| \Conekta\Conekta::setApiKey("key_wCompRCWsQmjFvNNWgGsryQ"); | |
| \Conekta\Conekta::setApiVersion("2.0.0"); | |
| //$token_id=$_POST['token']; | |
| try{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| header('Access-Control-Allow-Origin: *'); | |
| //require_once("lib/Conekta.php"); | |
| require_once("conekta-php/lib/Conekta.php"); | |
| \Conekta\Conekta::setApiKey("key_wCompRCWsQmjFvNNWgdGryQ"); | |
| \Conekta\Conekta::setApiVersion("2.0.0"); | |
| //$token_id=$_POST['token']; | |
| try{ |