Created
November 19, 2017 17:50
-
-
Save Merazsohel/e96eb2fcfc3832372e7e4196cc8eb0cb to your computer and use it in GitHub Desktop.
Paypal-Api
This file contains 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>Website Payment Standard</title> | |
<script type="text/javascript" language="javascript"> | |
function paypal_submit() | |
{ | |
//var actionName='https://www.paypal.com/cgi-bin/webscr'; | |
var actionName='https://www.sandbox.paypal.com/cgi-bin/webscr'; | |
document.forms.frmOrderAutoSubmit.action=actionName; | |
document.forms.frmOrderAutoSubmit.submit(); | |
} | |
</script> | |
</head> | |
<!--onload="paypal_submit();"--> | |
<body onload="paypal_submit();" > | |
<form style=" padding:0px;margin:0px;" name="frmOrderAutoSubmit" method="post" > | |
<!--<input type="hidden" name="return" value="<?//=base_url()?>paymentMethods/payment_utility/paymentSuccess/<?//=$order_row_id?>.html"> | |
<input type="hidden" name="cancel_return" value="<?//=base_url()?>paymentMethods/payment_utility/cancelExpressCheckoutSale/<?//=$order_row_id?>.html">--> | |
<input type="hidden" name="upload" value="1"> | |
<input type="hidden" name="cmd" value="_xclick"> | |
<input type="hidden" name="business" value="topu1826@gmail.com"> | |
<input type="hidden" name="quantity" value="2" /> | |
<input type="hidden" name="item_name" value="laptop"> | |
<input type="hidden" name="amount" value="1000"> | |
<input type="hidden" name="rm" value="2" /> | |
<input TYPE="hidden" name="address_override" value="0"> | |
<input type="hidden" name="first_name" value="<?//=$customer_info->shipping_name?>"> | |
<input type="hidden" name="last_name" value=""> | |
<input type="hidden" name="address1" value=""> | |
<input type="hidden" name="address2" value=""> | |
<input type="hidden" name="city" value=""> | |
<input type="hidden" name="state" value=""> | |
<input type="hidden" name="zip" value=""> | |
<!--<input type="hidden" name="night_phone_a" value=""> | |
<input type="hidden" name="night_phone_b" value=""> | |
<input type="hidden" name="night_phone_c" value=""> --> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment