
Was bin ich hier?
Code: Select all
$buyer_email = $_SESSION['email'];
$buyer_email = (string)$buyer_email;
$db->query("INSERT INTO `payment_info`
(`item_number`, `item_name`, `payment_status`,
`amount`, `currency`, `txn_id`, `payer_email`, `buyer_email`)
VALUES
(:item_number, :item_name, :payment_status,
:amount, :currency, :txn_id, :payer_email, :buyer_email)");
$db->bind(":item_number", $item_number);
$db->bind(":item_name", $item_name);
$db->bind(":payment_status", $payment_status);
$db->bind(":amount", $amount);
$db->bind(":currency", $currency);
$db->bind(":txn_id", $txn_id);
$db->bind(":payer_email", $payer_email);
$db->bind(":buyer_email", $buyer_email);
$db->execute();