tholmes386
Forum Replies Created
-
Forum: Plugins
In reply to: [JSON API User] User registered via plug-in not workingHello,
Thanks for the response. Never mind for that portion – the user is created and it is possible to log in with the user created. I added a first_name, last_name, and user_pass fields. I guess that made it work somehow…
The only issue is that the email is not sent after registration. I am using the following plug-in: WP-Mail-SMTP
If I create a user directly in WordPress, a Registration email is sent out (i.e. Works)
If I test through the plug-in test functionality, a Registration email is sent out (i.e. Works)
If I create a mail using the JSON functionality, the user *is* created and I *can log in with the user* but a Registration email is *not* sent out (i.e. Does Not Work)I added “notify=yes” to the http that does the JSON call – but – it still does not go out.
Any ideas?
For example, is there another endpoint that will accept Paypal Advanced?
I also found this as well:
https://stackoverflow.com/questions/17635386/paypal-payflow-pro-with-transparent-redirect-user-authentication-failed-issuesThanks
Hello again,
I saw this here:
https://developer.paypal.com/docs/classic/payflow/gs_payflow/
————————————————————–
curl -s https://pilot-payflowpro.paypal.com -d
“PARTNER=PayPal&
PWD=MyPassword&
VENDOR=MyMerchantID&
USER=MyMerchantID&
TENDER=C&
ACCT=5105105105105100&
TRXTYPE=S&
EXPDATE=1212&
AMT=1.00″In the code, I saw the following in: class.pmprogateway_payflowpro.php
/**
* PAYPAL Function
* Send HTTP POST Request
*
* @param string The API method name
* @param string The POST Message fields in &name=value pair format
* @return array Parsed HTTP Response body
*/
function PPHttpPost($methodName_, $nvpStr_) {
global $gateway_environment;
$environment = $gateway_environment;$PARTNER = pmpro_getOption(“payflow_partner”);
$VENDOR = pmpro_getOption(“payflow_vendor”);
$USER = pmpro_getOption(“payflow_user”);
$PWD = pmpro_getOption(“payflow_pwd”);
$API_Endpoint = “https://payflowpro.paypal.com”;
if(“sandbox” === $environment || “beta-sandbox” === $environment) {
$API_Endpoint = “https://pilot-payflowpro.paypal.com”;
}$version = urlencode(‘4’);
// setting the curl parameters.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $API_Endpoint);
curl_setopt($ch, CURLOPT_VERBOSE, 1);The code is written in a way whereby it can be followed (I think – which is good )
Are there some changes I can make here so that Paypal Advanced will be accepted?TIA