The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “CPA

Seeking Help Wordpress Contact Form 7 with dr cash API application

Drayce

New Member
affiliate
Hello,

I'm new at affiliate marketing and made a wordpress blog for dr cash offers. I want to be able to send over orders from my blog to dr cash. I've made a form with contact form 7, but I'm not sure how I can use the API application with contact form 7 to send the data over.
 

Attachments

  • Screenshot_20230823-115626-570.png
    Screenshot_20230823-115626-570.png
    236.1 KB · Views: 24
You need to make a HTML form.
WordPress just complicates things however
Forminator – Contact Form, Payment Form & Custom Form Builder this may work ?



HTML:
<form action="http://www.example.com/path/api.php" method="POST">
  <div>
    <label for="say">What greeting do you want to say?</label>
    <input name="say" id="say" value="Hi" />
  </div>
  <div>
    <label for="to">Who do you want to say it to?</label>
    <input name="to" id="to" value="Mom" />
  </div>
  <div>
    <button>Send my greetings</button>
  </div>
</form>

id=name value='user name' input [etc.]

1692877099461.png

HTML:
<form action="http://www.example.com/path/api.php" method="POST">
<input type="hidden" id="token" name="token  value="3eodjw4BP87ien45o">
<input type="hidden" id="" subid1="  value="subid1">
<input type="hidden" id="subid2" name="  value="subid2">

you do the rest ...

</form>
The script is hosted on your server and uses PHP curl on your server to send the posted data to the CURLOPT_URL shown
see PHP Form Handling
for a simplified explanation

1692877766938.png


If you further need help:
  1. Open a follow along new thread --"I need to make an api from"
  2. Post your code in code text without your token (for security) this board/forum is indexed!
  3. We can try to correct the code
  4. This is really made to be done in HTML or PHP and WordPress will need a plugin probably if are not a pro WordPress savant :p

hint: click the 3 vertical ... for the drop menu the click </> select HTML ;)
1692878096510.png
 
banners
Back