id = "00001"; $item->title = "item"; $item->quantity = 1; $item->unit_price = 100; $preference->items = array($item); $preference->save(); # Save the preference and send the HTTP Request to create # Return the HTML code for button echo " Pagar "; ?>