Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-01T01:15:15-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16067 2011-12-01T01:15:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54275#p54275 <![CDATA[Re: proforms not working]]>

I'm glad your forms are working again! And thanks a lot for reporting back what the problem was, that should help someone else with your problem when searching the forum.

Statistics: Posted by Cristián Lávaque — December 1st, 2011, 1:15 am


]]>
2011-11-28T15:22:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54097#p54097 <![CDATA[Re: proforms not working]]>
oh wait, that just gave me an idea. turn on wp debug log and check. oh ****. a plugin called wordpress https is throwing all sorts of errors. wait, deactivate that plugin and voila, success. working again.

frack, frack, frack. beating head on desk, frack, frack.
more beating of head, gnashing of teeth. frack

now I've got a headache, but at lest the forms are working again.

Statistics: Posted by s1r0n — November 28th, 2011, 3:22 pm


]]>
2011-11-28T14:59:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54096#p54096 <![CDATA[Re: proforms not working]]>
Code:
   $code = preg_replace ("/%%action%%/", c_ws_plugin__s2member_utils_strings::esc_ds (esc_attr (remove_query_arg (array ("s2member_paypal_xco", "token", "PayerID"), $_SERVER["REQUEST_URI"]))), $code);


in particular, if do this

Code:
echo  c_ws_plugin__s2member_utils_strings::esc_ds (esc_attr (remove_query_arg (array ("s2member_paypal_xco", "token", "PayerID"), $_SERVER["REQUEST_URI"])))


all I get is this

/how-to-subscribe/regular-rate-monthly/?s2-ssl=yes

which tells me that there is a problem in the esc_ds function of class c_ws_plugin__s2member_utils_strings.

so, Can somebody now tell me where to find the object where the function esc_ds resides so I can see why its not returning a proper URL value for the action part of the PROFORMS. It should be because values are being passed

Statistics: Posted by s1r0n — November 28th, 2011, 2:59 pm


]]>
2011-11-28T13:10:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54088#p54088 <![CDATA[Re: proforms not working]]>
track the search and replace function to paypal-form.inc.php to a function called sc_paypal_form

Code:

public static function sc_paypal_form ($attr = FALSE, $content = FALSE, $shortcode = FALSE)
               {
                  //print_r($content);print_r($attr);exit;
                  return c_ws_plugin__s2member_pro_paypal_form_in::sc_paypal_form ($attr, $content, $shortcode);
               }


a little forensic analysis reveals that while the array $attr is being passed, the $content attribute is totally empty. why is that since the content probably contains the search and replace values?

can anybody help?

Statistics: Posted by s1r0n — November 28th, 2011, 1:10 pm


]]>
2011-11-28T12:38:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54085#p54085 <![CDATA[Re: proforms not working]]>
Code:
   $code = preg_replace ("/%%action%%/", c_ws_plugin__s2member_utils_strings::esc_ds (esc_attr (remove_query_arg (array ("s2member_paypal_xco", "token", "PayerID"), $_SERVER["REQUEST_URI"]))), $code);


so can someone help me decode this?

Statistics: Posted by s1r0n — November 28th, 2011, 12:38 pm


]]>
2011-11-28T12:29:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54084#p54084 <![CDATA[Re: proforms not working]]>
now, where does the search and replace functionality get carried out? can somebody help please?

Statistics: Posted by s1r0n — November 28th, 2011, 12:29 pm


]]>
2011-11-28T12:02:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54082#p54082 <![CDATA[Re: proforms not working]]> Statistics: Posted by s1r0n — November 28th, 2011, 12:02 pm


]]>
2011-11-28T11:07:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54080#p54080 <![CDATA[Re: proforms not working]]>
Code:
<form id="s2member-pro-paypal-checkout-form" class="s2member-pro-paypal-form s2member-pro-paypal-checkout-form" method="post" action="http://curriculum.thelightningpath.com/how-to-subscribe/student-rate-monthly/?s2-ssl=yes">
   


in the action section of the form the form is saying to post the form entry back to the same page?!?!? shouldn't there be an s2member PHP program in that line?

i also notice that link isn't https? shouldn't it be

Statistics: Posted by s1r0n — November 28th, 2011, 11:07 am


]]>
2011-11-28T09:59:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54077#p54077 <![CDATA[Re: proforms not working]]>
Cristián Lávaque wrote:
Did you actually receive the payment? Is the user upgrading or creating a new account?


also no I did not actually receive any payment. it just silently fails and reloads the form page

Statistics: Posted by s1r0n — November 28th, 2011, 9:59 am


]]>
2011-11-27T20:08:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54024#p54024 <![CDATA[Re: proforms not working]]> Statistics: Posted by s1r0n — November 27th, 2011, 8:08 pm


]]>
2011-11-27T19:51:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54021#p54021 <![CDATA[Re: proforms not working]]> Statistics: Posted by s1r0n — November 27th, 2011, 7:51 pm


]]>
2011-11-27T19:45:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54019#p54019 <![CDATA[Re: proforms not working]]>
Code:
PHP v5.3.3 :: WordPress® v3.2.1 :: s2Member® v111105 :: s2Member® Pro v111105
Memory 33.37 MB :: Real Memory 33.75 MB :: Peak Memory 33.54 MB :: Real Peak Memory 33.75 MB
curriculum.thelightningpath.com/
curriculum.thelightningpath.com/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
array (
  'subscr_gateway' => 'paypal',
  's2member_log' =>
  array (
    0 => 'No Return-Data. Customer must wait for Email Confirmation.',
    1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
    2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Memb$
    3 => 'array (
  \'s2member_paypal_return\' => \'1\',
)',
  ),
)

Statistics: Posted by s1r0n — November 27th, 2011, 7:45 pm


]]>
2011-11-27T19:39:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54017#p54017 <![CDATA[Re: proforms not working]]>
Cristián Lávaque wrote:
Did you actually receive the payment? Is the user upgrading or creating a new account?

Have you tried the success attribute to customize the page the user returns to? WP Admin -> s2Member -> PayPal Pro-Forms -> Custom Return URLs On Success

Could you please post the log entries related to the transactions that didn't create the user? x'ing out any private info, please.

Could you also post the shortcode you're using for the pro-form?

Thanks!

it doesn't matter either way, upgrade or create new account, it fails.

i just started using the success attribute. but it wasn't working before that.

where do I find the "log" entries

here is the short code

Code:
[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="$299 USD / One Time ( for lifetime access, non-recurring, no trial )" ps="paypal" lc="" cc="USD" dg="0" success="http://curriculum.thelightningpath.com/how-to-subscribe/welcome-to-the-lightning-path/" ns="1" custom="curriculum.thelightningpath.com" ta="0" tp="0" tt="Y" ra="299" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

Statistics: Posted by s1r0n — November 27th, 2011, 7:39 pm


]]>
2011-11-27T19:11:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=54012#p54012 <![CDATA[Re: proforms not working]]>
Have you tried the success attribute to customize the page the user returns to? WP Admin -> s2Member -> PayPal Pro-Forms -> Custom Return URLs On Success

Could you please post the log entries related to the transactions that didn't create the user? x'ing out any private info, please.

Could you also post the shortcode you're using for the pro-form?

Thanks!

Statistics: Posted by Cristián Lávaque — November 27th, 2011, 7:11 pm


]]>
2011-11-27T09:29:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=53962#p53962 <![CDATA[Re: proforms not working]]> Statistics: Posted by s1r0n — November 27th, 2011, 9:29 am


]]>
2011-11-26T13:24:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=53939#p53939 <![CDATA[Re: proforms not working]]>
these are the apache logs for a single request. i tried enabling s2member logging but can't figure that out


Code:
198.53.93.6 - - [26/Nov/2011:13:18:43 -0500] "GET /how-to-subscribe/regular-rate-lifetime/?s2-ssl=yes HTTP/1.1" 200 130924 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"
198.53.93.6 - - [26/Nov/2011:13:18:47 -0500] "GET /how-to-subscribe/regular-rate-monthly/ HTTP/1.1" 302 - "https://curriculum.thelightningpath.com/how-to-subscribe/regular-rate-lifetime/?s2-ssl=yes" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"
198.53.93.6 - - [26/Nov/2011:13:18:47 -0500] "GET /how-to-subscribe/regular-rate-monthly/?s2-ssl=yes HTTP/1.1" 200 130695 "https://curriculum.thelightningpath.com/how-to-subscribe/regular-rate-lifetime/?s2-ssl=yes" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"

Statistics: Posted by s1r0n — November 26th, 2011, 1:24 pm


]]>
2011-11-26T13:05:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=53937#p53937 <![CDATA[Re: proforms not working]]> Statistics: Posted by Eduan — November 26th, 2011, 1:05 pm


]]>
2011-11-26T12:38:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=53936#p53936 <![CDATA[Re: proforms not working]]> Statistics: Posted by s1r0n — November 26th, 2011, 12:38 pm


]]>
2011-11-26T11:17:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16067&p=53934#p53934 <![CDATA[proforms not working]]>
https://curriculum.thelightningpath.com ... s2-ssl=yes

can somebody help me figure out what's the problem? they were working before

Statistics: Posted by s1r0n — November 26th, 2011, 11:17 am


]]>