Project Description:
I plan to Buy and Sell Liberty Reserve. I need a simple payment form to received payments via Liberty Reserve and EgoPay. (Payment codes included below). And simple admin area where I should be able to update the reserves I have, in order for people not to try buying or selling more than the money I have available to sell and buy. Please see attached file for more details.
Payment code for LibertyReseve:
<form action="https://sci.libertyreserve.com/en" method="post">
<input type="hidden" name="lr_acc" value="U8777026">
<input type="hidden" name="lr_amnt" value="1.25">
<input type="hidden" name="lr_currency" value="LRUSD">
<input type="hidden" name="lr_comments" value="Paypal Email Here">
<input type="hidden" name="lr_success_url" value="http://www.lrpros.com/thanks.php">
<input type="hidden" name="lr_success_url_method" value="LINK">
<input type="hidden" name="lr_fail_url" value="http://www.lrpros.com/">
<input type="hidden" name="lr_fail_url_method" value="LINK">
<input type="image" src="http://www.lrpros.com/images/lr.bmp" border="0" name="submit" alt="Pay With Liberty Reserve!">
</form>
Payment code for EgoPay.com:
<?php
require('EgoPaySci.php');
try {
$oEgopay = new EgoPaySci(array(
'store_id' => 'STORE ID',
'store_password' => 'STORE PASSWORD'
));
$sPaymentHash = $oEgopay->createHash(array(
'amount' => '3.00',
'currency' => 'USD',
'success_url' => ' http://www.lrpros.com/thanks.php ',
'fail_url' => ' http://www.lrpros.com/ ',
'description' => 'Liberty Reserve Account number here',
));
} catch (EgoPayException $e) {
die($e->getMessage());
}
?>
<form action="<?php echo EgoPaySci::EGOPAY_PAYMENT_URL; ?>" method="post">
<input type="hidden" name="hash" value="<?php echo $sPaymentHash ?>" />
<input type="submit" value="Confirm Payment" />
</form>