Hemos recibido tu registro. Ahora te queda confirmar tu reserva para que tu plaza sea reservada.
El coste de la reserva es de 200 dólares.
Puedes hacerlo a través de la pasarela segura de PayPal con tu cuenta PayPal o con tu tarjeta de crédito o debito sin necesidad de tener o abrir cuenta en PayPal. Sin ninguna comisión para ti,
Pulsa en el botón.
<!– Replace “test” with your own sandbox Business account app client ID –>
8 <script src=“https://www.paypal.com/sdk/js?client-id=Acy6w6L_ftIqMbk2UxiGQLXS9A0hX-xbcsVvGJN6DC7f8jGNto3KyrbX1fLlLWaHt9FkdLSCQdp_Ny-x¤cy=USD“></script>
9 <!– Set up a container element for the button –>
10 <div id=“paypal-button-container“></div>
11 <script>
12 paypal.Buttons({
13 // Order is created on the server and the order id is returned
14 createOrder() {
15 return fetch(“/my-server/create-paypal-order”, {
16 method: “POST”,
17 headers: {
18 “Content-Type”: “application/json”,
19 },
20 // use the “body” param to optionally pass additional order information
21 // like product skus and quantities
22 body: JSON.stringify({
23 cart: [
24 {
25 sku: “YOUR_PRODUCT_STOCK_KEEPING_UNIT”,
26 quantity: “YOUR_PRODUCT_QUANTITY”,
27 },
28 ],
29 }),
30 })
31 .then((response) => response.json())
32 .then((order) => order.id);
33 },
34 // Finalize the transaction on the server after payer approval
35 onApprove(data) {
36 return fetch(“/my-server/capture-paypal-order”, {
37 method: “POST”,
38 headers: {
39 “Content-Type”: “application/json”,
40 },
41 body: JSON.stringify({
42 orderID: data.orderID
43 })
44 })
45 .then((response) => response.json())
46 .then((orderData) => {
47 // Successful capture! For dev/demo purposes:
48 console.log(‘Capture result’, orderData, JSON.stringify(orderData, null, 2));
49 const transaction = orderData.purchase_units[0].payments.captures[0];
50 alert(`Transaction ${transaction.status}: ${transaction.id}\n\nSee console for all available details`);
51 // When ready to go live, remove the alert and show a success message within this page. For example:
52 // const element = document.getElementById(‘paypal-button-container’);
53 // element.innerHTML = ‘<h3>Thank you for your payment!</h3>’;
54 // Or go to another URL: window.location.href = ‘thank_you.html’;
55 });
56 }
57 }).render(‘#paypal-button-container’);
58 </script>