Click here to Skip to main content
15,894,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Bing Translate: "Help modify Default HTML button in PHP."

"What happens is that I generate my button all cool..
And when the user gives in cancel it runs test to Facebook and when you pay Google..

But I need a way to get a PHP variable to know when you cancel the form or when you pay.. To make an action with the answer I hope prompt help please urge me."


Lo que pasa es que yo genere mi boton todo chevere..
Y cuando el usuario le da en cancelar lo dirige de prueba a facebbok y cuando paga a google..

Pero necesito una forma de como obtener una variable en php de saber cuando se cancelo el formulario o cuando se pago.. para hacer una acción con la respuesta espero pronta ayuda por favor me urge.

What I have tried:

<form action="https://www.coinpayments.net/index.php" method="post" >
	<input type="hidden" name="cmd" value="_pay_simple">
	<input type="hidden" name="reset" value="1">
	<input type="hidden" name="merchant" value="f59cd6a6e0d2ed6dddce7f667b0888d7">
	<input type="hidden" name="item_name" value="GanemosJuntos.com">
	<input type="hidden" name="currency" value="USD">
	<input type="hidden" name="amountf" value="6.00000000">
	<input type="hidden" name="want_shipping" value="0">
	<input type="hidden" name="success_url"  value="https://www.google.com/">
	<input type="hidden" name="cancel_url"  value="https://www.facebook.com/">
	<label class="btn"> Ser miembro activo
	<input type="image" src="imagen/logo.png"  class="pagar">
	</label>
</form>
Posted
Updated 8-Dec-18 16:01pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900