I'm trying to implement the "Become a Patron" button on my PHP website (documentation).
As aditional parameters for the "Redirect URL" i set a JOB and a USERID, so my Redirect URL looks something like this:
https://www.MYWEBSITE.TLD/?job=patreon&userid=MYUSERID
I need the "job" to know that the redirect is from Patreon and the "userid" so i can give a patron the reward.
The HTML generated code from Patreon looks like this:
<a href="https://www.patreon.com/bePatron?u=PATREONUSERID&redirect_uri=https%3A%2F%2Fwww.MYWEBSITE.TLD%2F%3Fjob%3Dpatreon%26userid%3DMYUSERID">
<img height="40" width="204" src="https://s3-us-west-1.amazonaws.com/widget-images/become-patron-widget-medium%402x.png">
</a>
After a patron clicks the link and the pledge is set he will be redirected as provided, but all i get in the request is the job and the userid.
The documentation said:
If you'd like to check how much they pledged, and if that pledge was new or just an update to an old pledge, you can check the HTTP query parameters in our redirect request.
So i'm asking: Where are the "amount_cents" and "action" parameters?
I've checked all the recived HEADER informations (How to handle received HTTP Header), but all I get from $_REQUEST is:
Array
(
[job] => patreon
[userid] => MYUSERID
)
Array
(
[job] => patreon
)
Also i can't find anything in $_SERVER.
Do you have any tips for me?