Paypal/Skrill Payment Form HTML - Call Email with PHP

Scorpion Ghost

Elite Member
Executive VIP
Jr. VIP
Joined
Mar 22, 2013
Messages
9,146
Reaction score
10,489
I have a question, if somebody can figure it out.

I have this code for my Paypal button that people can click to pay for things:

<input type="hidden" name="business" value="<?php echo $paypalemail; ?>">

This calls my Paypal email from a php file.

Now, I have this for Skrill and it works:

<input type="hidden" name="pay_to_email" value="[email protected]">

If I change it to this:

<input type="hidden" name="pay_to_email" value="<?php echo $paypalemail; ?>">

Now it doesn't work. It takes me to an error page:

code "BAD_REQUEST"
message "Invalid parameter"


Any idea how I can make this work? To call the email with php code, just like I do for the Paypal code in my first example.

Thanks
 
You probably have include/require of another .php file where you set paypalemail (sort of config) somewhere in your paypal code and $paypalemail is not set in your skrill code as that same file is not included/required.
 
You probably have include/require of another .php file where you set paypalemail (sort of config) somewhere in your paypal code and $paypalemail is not set in your skrill code as that same file is not included/required.

Yes, I have a config.php file in the root folder for that website where $paypalemail is set. But if the code for Paypal is pulling it, why isn't the code for Skrill pulling it. That's what I can't figure out.

My Paypal code is really quite simple on this website. Well, here it is:

HOcasFW
 
Son of a Bitch!!!

I created my Skrill account yesterday, and I thought I was good to go. But now I logged in and I get a notification:

" Skrill has changed its account verification policies and now requires all members to complete additional identity verification steps. In order to ensure your account usage will not be interrupted, please complete the additional steps to verify your account"

Now, I'm either not allowed to accept Skrill payments because my account is not fully verified, or maybe I need a business account or something. I'll go and verify my Skrill account and take it from there, or I'll contact Skrill to ask about it.
 
This is super weird. I tried my email that I have a Skrill account with, and I tried 2 other emails that other websites have listed as their Skrill payment email. None worked.

But if I use the email from the Skrill html page for setting auto payments - [email protected] - it works!

What is this? Is it a country thing, to where only Skrill accounts from specific countries can accept auto payments? Or do I need to set up something special in my skrill account to make this work?
 
I suggest downloading something like FIddler to see if the email really is sent in the form request. Doesn't have to be Fiddler, could be other stuff like Charles or Burp too. The idea is to just check if the email is indeed sent in the post request. If it is, then it's something on Skrill's side, then you can contact them.
 
I suggest downloading something like FIddler to see if the email really is sent in the form request. Doesn't have to be Fiddler, could be other stuff like Charles or Burp too. The idea is to just check if the email is indeed sent in the post request. If it is, then it's something on Skrill's side, then you can contact them.

Actually, it turns out you need a merchant Skrill account to be allowed to accept automated payments. That's why I couldn't get it to work.

Thanks :)
 
Back
Top