Skip to content

Instantly share code, notes, and snippets.

@yungtechboy1
Forked from truelinux/idk.html
Last active August 29, 2015 14:19
Show Gist options
  • Save yungtechboy1/396589c0da609636a931 to your computer and use it in GitHub Desktop.
Save yungtechboy1/396589c0da609636a931 to your computer and use it in GitHub Desktop.
<?php
$name = $_POST['name'];
$rank = $_POST['rank'];
?>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypal">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="cbt" value="Return to example" />
<input type="hidden" name="business" value="cjj4u2@aol.com" />
<input type="hidden" name="item_name" value="Skywars2" />
<input type="hidden" name="amount" value="0.00">
<input type="hidden" name="button_subtype" value="services" />
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value='http://icrispycoder.cf/MCPE/test.php?<?php echo "name=$name&rank=$rank";?>'/>
<input type="hidden" name="notify_url" value="http://icrispycoder.cf/MCPE/get.php"/>
<input type="hidden" name="cancel_return" value="http://icrispycoder.cf/" />
<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="image_url" value="" />
<input type="hidden" id="custom" name="custom" value="Crispeh"/>
<input type="hidden" class="btn btn-primary" style="width:100%" alt="PayPal - The safer, easier way to pay online!"/>
</form>
<script type="text/javascript">
function myfunc () {
var frm = document.getElementById("paypal");
frm.submit();
}
window.onload = myfunc;
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment