PHP Post callback Failed

50
December 03, 2021, at 10:20 PM

i am not getting php post callback to my file

i have the following code in form page :

 <form action="https://faucetpay.io/merchant/webscr" method="post">
    <input type="text" name="merchant_username" value="[YOUR USERNAME]">
    <br>
   <input type="text" name="item_description" value="[ITEM DESCRIPTION]">
<br>
<input type="text" name="amount1" value="[AMOUNT]">
<br>
<input type="text" name="currency1" value="USD">
<br>
<input type="text" name="currency2" value="BTC">
<br>
<input type="text" name="custom" value="[IDENTIFICATION VALUE]">
<br>
<input type="text" name="callback_url" value="[CALLBACK URL]">
<br>
<input type="text" name="success_url" value="[SUCCESS URL]">
<br>
<input type="text" name="cancel_url" value="[CANCEL URL]">
<br>
<input type="submit" name="submit" value="Make Payment">
 </form>

in callback back url i have added path like https://website/index.php i have the following code in index.php :

 <?php
 $token = $_POST['token'];
 ?>

But i get error undefined index : token

i tested using webhook.site and the i got the post payload

i got this using webhook.site

transaction_id=76e305278b8c5ec813f05a464d82925d0d5f5429&token=f32c44836b67a82755763848f837ec4f5f31194f&custom=&

READ ALSO
Retrieve Iframe Height with Ajax Call

Retrieve Iframe Height with Ajax Call

I have found many questions here about getting iframe's height and set it via Javascript or jQuery however in my case none have workedI've installed MailChimp Plugin on a wordpress website to load the newsletters within tabs based on years and months

66
I don&#39;t understand how ListView works in Flutter?

I don't understand how ListView works in Flutter?

I have at the data area I/II/III

88
Trying to make a table that scrolls vertically, with a static section and a section that scrolls horizontally

Trying to make a table that scrolls vertically, with a static section and a section that scrolls horizontally

I am trying to use CSS to create a table with some specific traitsI want the table to scroll vertically, as there might be a lot of rows and I want to keep it within the view of the client's screen

65
Vue 3 yarn serve stuck at 42% when importing external js file

Vue 3 yarn serve stuck at 42% when importing external js file

Vue 3 yarn serve stuck at 42% when I try to import an external js file into maints

48