Page 1 of 2
This Is Weird!!
Posted:
November 6th, 2011, 5:54 pm
by peterhuk
Hi guys,
Not sure if this is a problem or just natural progression.
Before, on my test site when I did a user modification
as a test member via S2member and Paypal on return
from Paypal the additions or deletions of Additional Capabilities
would show up straight away.
Now after a modification the list of Additional Capabilities
are exactly the same as before the update i.e no change.
Is there a problem or is Paypal / S2member allowing the
member to utilise the remaining paid for period on their
existing subscription before updating.
If this is the case then I will need to update the message
after upgrade else there is likely to be many complaints
about failure to upgrade. Also it would be nice to have
access to previous / next payment date so the member
can be informed when the upgrade will start.
I’m a couple of weeks from launching my site and would
like to resolve this before hand.
Let me know
Many thanks
PeterH
Re: This Is Weird!!
Posted:
November 6th, 2011, 7:25 pm
by Eduan
So you have problems using modification buttons?
Re: This Is Weird!!
Posted:
November 6th, 2011, 7:46 pm
by peterhuk
Hi Eduan,
Yes sort of. I'm using S2member Pro with Paypal Standard. My system is set up
a little diffrent. I have approx 40 features (the user capabilities) of which users
can select from. once selected all prices are calulated and inserted into the
s2Member-Pro-PayPal-Form shortcode then executed via a do_shortcode
command.
This has worked well before with no problems, test user selects Additional Capabilities
which on return from paypal all paid for Additional Capabilities would be listed. Test
user preforms modification (add or remove feature) and on return from Paypal the updated
list of features are shown. Now only the previous list of features are shown
giving the impression that the modification has been paid for but the update
did not take place.
Any idea?
PeterHuk
Re: This Is Weird!!
Posted:
November 6th, 2011, 8:45 pm
by Eduan
Take a look into
WP Admin -> S2member -> PayPal® Options -> Account Details and see if ALL the fields are correctly filled. It's sometimes this that causes this problem.
This video may also be of interest:
http://www.s2member.com/paypal-options-buttons-video/Have you tried going over the
WP Admin -> s2Member -> PayPal® Buttons -> Shortcode Attributes ( Explained )?
It may help clear some things up, just check your button code compared to what's in this section.
Remember to create new buttons with the new info, just to make sure it works.
Also remember to report back.
Otherwise you leave me worrying.
Re: This Is Weird!!
Posted:
November 6th, 2011, 9:17 pm
by peterhuk
Hi Eduan,
When ever theres a problem the first check is to compare my automatically generated
shortcode with a S2member generated short code. the comparison is perfect, as mentioned
my auto gen worked for some time not sure if the problem was after an S2 update or
whether is a Paypal issue.
Re: This Is Weird!!
Posted:
November 6th, 2011, 11:35 pm
by Cristián Lávaque
Peter, could you please post the log entries related to the transactions that have this problem, please? Could you also post the custom code you wrote to show these changes?
Did your problem start after the last s2Member upgrade? Maybe something in it causes your customization to fail now. If you change to the previous version, does the customization work fine again?
Re: This Is Weird!!
Posted:
November 7th, 2011, 9:29 am
by peterhuk
Hi Crist,
Thanks for getting back to me. Just to be sure I did a modification
using the S2member generated short code:
- Code: Select all
[s2Member-Pro-PayPal-Form modify="1" level="1" ccaps="cmem,csfb,spof,tsas,mmed" desc="$39.80 GBP / Monthly ( recurring charge, for ongoing access )" ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="mydomain.com|25" ta="0" tp="0" tt="D" ra="39.80" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="GB" captcha="0" success="/wp-admin/?vacc_mod=1" /]
and the problem still exists IPN and API logs below (personal identifiable info substituted).
IPN LOG:
- Code: Select all
ipn log
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 29.32 MB :: Real Memory 30.00 MB :: Peak Memory 29.47 MB :: Real Peak Memory 30.00 MB
mydomain.com/?s2member_paypal_notify=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=pro-emails,subscr-signup-as-subscr-payment&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&s2member_paypal_proxy_return_url=%2Fwp-admin%2F%3Fvacc_mod%3D1
User-Agent: WordPress/3.2.1; https://mydomain.com
array (
'txn_type' => 'subscr_signup',
'subscr_id' => 'I-N51R0VPLLDHS',
'custom' => 'mydomain.com|25',
'txn_id' => 'I-N51R0VPLLDHS',
'period1' => '0 D',
'period3' => '1 M',
'mc_amount1' => '0.00',
'mc_amount3' => '39.80',
'mc_gross' => '39.80',
'mc_currency' => 'GBP',
'tax' => '0.00',
'recurring' => '39.80',
'payer_email' => 'john.smith@mydomain.com',
'first_name' => 'John',
'last_name' => 'Smith',
'option_name1' => 'Referencing Customer ID',
'option_selection1' => 'I-162E3C8TV8XY',
'option_name2' => 'Customer IP Address',
'option_selection2' => 'xxx.xxx.xxx.xxx',
'item_name' => '$39.80 GBP / Monthly ( recurring charge, for ongoing access )',
'item_number' => '1:cmem,csfb,spof,tsas,mmed',
'proxy_verified' => 'paypal',
's2member_log' =>
array (
0 => 'IPN received on: Mon Nov 7, 2011 1:39:25 pm UTC',
1 => 's2Member POST vars verified with a Proxy Key',
2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/ update vars.',
5 => 's2Member Level/Capabilities updated w/ advanced update routines.',
6 => 'Modification Confirmation Email sent to Customer, with a URL that provides them with a way to log back in.',
7 => 'Subscr. Return ( `modification=1` ), a Proxy Return URL is ready.',
8 => 'User exists. Handling `payment` for Subscription via ( `subscr-signup-as-subscr-payment` ).',
9 => 'Storing IPN signup vars now. These are associated with a User\'s account record; for future reference.',
),
'subscr_gateway' => 'paypal',
'eotper' => NULL,
'ccaps' => 'cmem,csfb,spof,tsas,mmed',
'level' => '1',
'ip' => 'xxx.xxx.xxx.xxx',
'initial_term' => '0 D',
'initial' => '39.80',
'regular' => '39.80',
'regular_term' => '1 M',
's2member_paypal_proxy_return_url' => '/wp-admin/?vacc_mod=1',
's2member_paypal_proxy' => 'paypal',
's2member_paypal_proxy_use' => 'pro-emails,subscr-signup-as-subscr-payment',
's2member_paypal_proxy_verification' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 26.85 MB :: Real Memory 27.00 MB :: Peak Memory 26.90 MB :: Real Peak Memory 27.00 MB
mydomain.com/?s2member_paypal_notify=1
User-Agent:
array (
'payment_cycle' => 'Monthly',
'txn_type' => 'recurring_payment_profile_cancel',
'last_name' => 'User',
'next_payment_date' => 'N/A',
'residence_country' => 'GB',
'initial_payment_amount' => '39.80',
'rp_invoice_id' => '1323243382:0 D:1 M~mydomain.com~1:cmem,csfb,spof,tsas,mmed',
'currency_code' => 'GBP',
'time_created' => '11:36:24 Nov 06, 2011 PST',
'verify_sign' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'period_type' => 'Regular',
'payer_status' => 'verified',
'test_ipn' => '1',
'tax' => '0.00',
'payer_email' => 'jsmith_1317909634_per@hotmail.com',
'first_name' => 'Test',
'receiver_email' => 'peter.hyacinth@mydomain.com',
'payer_id' => 'EPJG4SPAFWJPE',
'product_type' => '1',
'shipping' => '0.00',
'amount_per_cycle' => '39.80',
'profile_status' => 'Cancelled',
'charset' => 'windows-1252',
'notify_version' => '3.4',
'amount' => '39.80',
'outstanding_balance' => '0.00',
'recurring_payment_id' => 'I-162E3C8TV8XY',
'product_name' => '£39.80pm Basic Membership Including: Ad Enhancement Feature(s)',
'ipn_track_id' => 'dOjC4JyOwwTwD-8Y1hJDBA',
's2member_log' =>
array (
0 => 'IPN received on: Mon Nov 7, 2011 1:40:20 pm UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 'Transaction type ( `recurring_payment_profile_cancel` ), but there is no match to an existing account; so verification of `$_SERVER["HTTP_HOST"]` was not possible.',
3 => 'It\'s likely this account was just upgraded/downgraded by s2Member Pro; so the Subscr. ID has probably been updated on-site; nothing to worry about here.',
),
'subscr_gateway' => 'paypal',
'custom' => false,
)
API LOG:
- Code: Select all
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 25.08 MB :: Real Memory 25.75 MB :: Peak Memory 25.29 MB :: Real Peak Memory 25.75 MB
mydomain.com/advertise-with-us/
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
-------- Input vars: ( Mon Nov 7, 2011 1:38:54 pm UTC ) --------
array (
'METHOD' => 'SetExpressCheckout',
'RETURNURL' => 'https://mydomain.com/advertise-with-us/?s2member_paypal_xco=s2member_pro_paypal_checkout_return',
'CANCELURL' => 'https://mydomain.com/advertise-with-us/?s2member_paypal_xco=s2member_pro_paypal_checkout_cancel',
'PAGESTYLE' => 'paypal',
'LOCALECODE' => '',
'NOSHIPPING' => '1',
'ALLOWNOTE' => '0',
'L_BILLINGTYPE0' => 'RecurringPayments',
'L_BILLINGAGREEMENTDESCRIPTION0' => '$39.80 GBP / Monthly ( recurring charge, for ongoing access )',
'PAYMENTREQUEST_0_SHIPTONAME' => 'John Smith',
'PAYMENTREQUEST_0_SHIPTOSTREET' => '',
'PAYMENTREQUEST_0_SHIPTOCITY' => '',
'PAYMENTREQUEST_0_SHIPTOSTATE' => '',
'PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE' => 'GB',
'PAYMENTREQUEST_0_SHIPTOZIP' => '',
'EMAIL' => 'john.smith@mydomain.com',
'VERSION' => '71.0',
'USER' => 'peterhuk_api1.mydomain.com',
'PWD' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'SIGNATURE' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
-------- Output string/vars: ( Mon Nov 7, 2011 1:38:56 pm UTC ) --------
TOKEN=EC%2d2K282590EL390224W&TIMESTAMP=2011%2d11%2d07T13%3a38%3a56Z&CORRELATIONID=e47f87b073f7b&ACK=Success&VERSION=71%2e0&BUILD=2244591
array (
'TOKEN' => 'EC-2K282590EL390224W',
'TIMESTAMP' => '2011-11-07T13:38:56Z',
'CORRELATIONID' => 'e47f87b073f7b',
'ACK' => 'Success',
'VERSION' => '71.0',
'BUILD' => '2244591',
)
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 25.04 MB :: Real Memory 25.75 MB :: Peak Memory 25.27 MB :: Real Peak Memory 25.75 MB
mydomain.com/advertise-with-us/?s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-2K282590EL390224W
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
-------- Input vars: ( Mon Nov 7, 2011 1:39:20 pm UTC ) --------
array (
'METHOD' => 'GetRecurringPaymentsProfileDetails',
'PROFILEID' => 'I-162E3C8TV8XY',
'VERSION' => '71.0',
'USER' => 'peterhuk_api1.mydomain.com',
'PWD' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'SIGNATURE' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
-------- Output string/vars: ( Mon Nov 7, 2011 1:39:21 pm UTC ) --------
PROFILEID=I%2d162E3C8TV8XY&STATUS=Active&AUTOBILLOUTAMT=AddToNextBilling&DESC=%26pound%3b39%2e80pm%20Basic%20Membership%20Including%3a%20Ad%20Enhancement%20Feature%28s%29&MAXFAILEDPAYMENTS=2&SUBSCRIBERNAME=John%20Smith&PROFILESTARTDATE=2011%2d12%2d07T00%3a00%3a00Z&PROFILEREFERENCE=1323243382%3a0%20D%3a1%20M%7emydomain%2ecom%7e1%3acmem%2ccsfb%2cspof%2ctsas%2cmmed&NEXTBILLINGDATE=2011%2d12%2d07T10%3a00%3a00Z&NUMCYCLESCOMPLETED=0&NUMCYCLESREMAINING=0&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&LASTPAYMENTDATE=2011%2d11%2d07T00%3a52%3a09Z&LASTPAYMENTAMT=39%2e80&TRIALAMTPAID=0%2e00®ULARAMTPAID=0%2e00&AGGREGATEAMT=0%2e00&AGGREGATEOPTIONALAMT=39%2e80&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2011%2d11%2d07T13%3a39%3a21Z&CORRELATIONID=15099157c64b4&ACK=Success&VERSION=71%2e0&BUILD=2230381&BILLINGPERIOD=Month&BILLINGFREQUENCY=1&TOTALBILLINGCYCLES=0&CURRENCYCODE=GBP&AMT=39%2e80&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00®ULARBILLINGPERIOD=Month®ULARBILLINGFREQUENCY=1®ULARTOTALBILLINGCYCLES=0®ULARCURRENCYCODE=GBP®ULARAMT=39%2e80®ULARSHIPPINGAMT=0%2e00®ULARTAXAMT=0%2e00
array (
'PROFILEID' => 'I-162E3C8TV8XY',
'STATUS' => 'Active',
'AUTOBILLOUTAMT' => 'AddToNextBilling',
'DESC' => '£39.80pm Basic Membership Including: Ad Enhancement Feature(s)',
'MAXFAILEDPAYMENTS' => '2',
'SUBSCRIBERNAME' => 'John Smith',
'PROFILESTARTDATE' => '2011-12-07T00:00:00Z',
'PROFILEREFERENCE' => '1323243382:0 D:1 M~mydomain.com~1:cmem,csfb,spof,tsas,mmed',
'NEXTBILLINGDATE' => '2011-12-07T10:00:00Z',
'NUMCYCLESCOMPLETED' => '0',
'NUMCYCLESREMAINING' => '0',
'OUTSTANDINGBALANCE' => '0.00',
'FAILEDPAYMENTCOUNT' => '0',
'LASTPAYMENTDATE' => '2011-11-07T00:52:09Z',
'LASTPAYMENTAMT' => '39.80',
'TRIALAMTPAID' => '0.00',
'REGULARAMTPAID' => '0.00',
'AGGREGATEAMT' => '0.00',
'AGGREGATEOPTIONALAMT' => '39.80',
'FINALPAYMENTDUEDATE' => '1970-01-01T00:00:00Z',
'TIMESTAMP' => '2011-11-07T13:39:21Z',
'CORRELATIONID' => '15099157c64b4',
'ACK' => 'Success',
'VERSION' => '71.0',
'BUILD' => '2230381',
'BILLINGPERIOD' => 'Month',
'BILLINGFREQUENCY' => '1',
'TOTALBILLINGCYCLES' => '0',
'CURRENCYCODE' => 'GBP',
'AMT' => '39.80',
'SHIPPINGAMT' => '0.00',
'TAXAMT' => '0.00',
'REGULARBILLINGPERIOD' => 'Month',
'REGULARBILLINGFREQUENCY' => '1',
'REGULARTOTALBILLINGCYCLES' => '0',
'REGULARCURRENCYCODE' => 'GBP',
'REGULARAMT' => '39.80',
'REGULARSHIPPINGAMT' => '0.00',
'REGULARTAXAMT' => '0.00',
)
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 25.07 MB :: Real Memory 25.75 MB :: Peak Memory 25.27 MB :: Real Peak Memory 25.75 MB
mydomain.com/advertise-with-us/?s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-2K282590EL390224W
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
-------- Input vars: ( Mon Nov 7, 2011 1:39:21 pm UTC ) --------
array (
'METHOD' => 'GetExpressCheckoutDetails',
'TOKEN' => 'EC-2K282590EL390224W',
'VERSION' => '71.0',
'USER' => 'peterhuk_api1.mydomain.com',
'PWD' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'SIGNATURE' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
-------- Output string/vars: ( Mon Nov 7, 2011 1:39:22 pm UTC ) --------
TOKEN=EC%2d2K282590EL390224W&BILLINGAGREEMENTACCEPTEDSTATUS=1&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2011%2d11%2d07T13%3a39%3a22Z&CORRELATIONID=ee9635c13a7e7&ACK=Success&VERSION=71%2e0&BUILD=2244591&EMAIL=jsmith_1317909634_per%40hotmail%2ecom&PAYERID=EPJG4SPAFWJPE&PAYERSTATUS=verified&FIRSTNAME=Test&LASTNAME=User&COUNTRYCODE=GB&CURRENCYCODE=USD&AMT=0%2e00&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_CURRENCYCODE=USD&PAYMENTREQUEST_0_AMT=0%2e00&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUESTINFO_0_ERRORCODE=0
array (
'TOKEN' => 'EC-2K282590EL390224W',
'BILLINGAGREEMENTACCEPTEDSTATUS' => '1',
'CHECKOUTSTATUS' => 'PaymentActionNotInitiated',
'TIMESTAMP' => '2011-11-07T13:39:22Z',
'CORRELATIONID' => 'ee9635c13a7e7',
'ACK' => 'Success',
'VERSION' => '71.0',
'BUILD' => '2244591',
'EMAIL' => 'jsmith_1317909634_per@hotmail.com',
'PAYERID' => 'EPJG4SPAFWJPE',
'PAYERSTATUS' => 'verified',
'FIRSTNAME' => 'Test',
'LASTNAME' => 'User',
'COUNTRYCODE' => 'GB',
'CURRENCYCODE' => 'USD',
'AMT' => '0.00',
'SHIPPINGAMT' => '0.00',
'HANDLINGAMT' => '0.00',
'TAXAMT' => '0.00',
'INSURANCEAMT' => '0.00',
'SHIPDISCAMT' => '0.00',
'PAYMENTREQUEST_0_CURRENCYCODE' => 'USD',
'PAYMENTREQUEST_0_AMT' => '0.00',
'PAYMENTREQUEST_0_SHIPPINGAMT' => '0.00',
'PAYMENTREQUEST_0_HANDLINGAMT' => '0.00',
'PAYMENTREQUEST_0_TAXAMT' => '0.00',
'PAYMENTREQUEST_0_INSURANCEAMT' => '0.00',
'PAYMENTREQUEST_0_SHIPDISCAMT' => '0.00',
'PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED' => 'false',
'PAYMENTREQUESTINFO_0_ERRORCODE' => '0',
)
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 25.08 MB :: Real Memory 25.75 MB :: Peak Memory 25.27 MB :: Real Peak Memory 25.75 MB
mydomain.com/advertise-with-us/?s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-2K282590EL390224W
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
-------- Input vars: ( Mon Nov 7, 2011 1:39:22 pm UTC ) --------
array (
'METHOD' => 'CreateRecurringPaymentsProfile',
'EMAIL' => 'john.smith@mydomain.com',
'FIRSTNAME' => 'John',
'LASTNAME' => 'Smith',
'SUBSCRIBERNAME' => 'John Smith',
'DESC' => '$39.80 GBP / Monthly ( recurring charge, for ongoing access )',
'PROFILEREFERENCE' => '1323308361:0 D:1 M~mydomain.com~1:cmem,csfb,spof,tsas,mmed',
'INITAMT' => '39.80',
'FAILEDINITAMTACTION' => 'CancelOnFailure',
'CURRENCYCODE' => 'GBP',
'AMT' => '39.80',
'TAXAMT' => '0.00',
'MAXFAILEDPAYMENTS' => '2',
'AUTOBILLOUTAMT' => 'AddToNextBilling',
'PROFILESTARTDATE' => '2011-12-08T00:00:00Z',
'BILLINGPERIOD' => 'Month',
'TOTALBILLINGCYCLES' => '0',
'BILLINGFREQUENCY' => '1',
'TOKEN' => 'EC-2K282590EL390224W',
'VERSION' => '71.0',
'USER' => 'peterhuk_api1.mydomain.com',
'PWD' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'SIGNATURE' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
-------- Output string/vars: ( Mon Nov 7, 2011 1:39:24 pm UTC ) --------
PROFILEID=I%2dN51R0VPLLDHS&PROFILESTATUS=PendingProfile&TIMESTAMP=2011%2d11%2d07T13%3a39%3a24Z&CORRELATIONID=d7532867907f2&ACK=Success&VERSION=71%2e0&BUILD=2230381
array (
'PROFILEID' => 'I-N51R0VPLLDHS',
'PROFILESTATUS' => 'PendingProfile',
'TIMESTAMP' => '2011-11-07T13:39:24Z',
'CORRELATIONID' => 'd7532867907f2',
'ACK' => 'Success',
'VERSION' => '71.0',
'BUILD' => '2230381',
)
PHP v5.3.6 :: WordPress® v3.2.1 :: s2Member® v111029 :: s2Member® Pro v111029
Memory 25.25 MB :: Real Memory 25.75 MB :: Peak Memory 25.33 MB :: Real Peak Memory 25.75 MB
mydomain.com/advertise-with-us/?s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-2K282590EL390224W
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
-------- Input vars: ( Mon Nov 7, 2011 1:39:26 pm UTC ) --------
array (
'PROFILEID' => 'I-162E3C8TV8XY',
'METHOD' => 'ManageRecurringPaymentsProfileStatus',
'ACTION' => 'Cancel',
'VERSION' => '71.0',
'USER' => 'peterhuk_api1.mydomain.com',
'PWD' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'SIGNATURE' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
-------- Output string/vars: ( Mon Nov 7, 2011 1:39:28 pm UTC ) --------
PROFILEID=I%2d162E3C8TV8XY&TIMESTAMP=2011%2d11%2d07T13%3a39%3a28Z&CORRELATIONID=dbb3cf9976f1&ACK=Success&VERSION=71%2e0&BUILD=2230381
array (
'PROFILEID' => 'I-162E3C8TV8XY',
'TIMESTAMP' => '2011-11-07T13:39:28Z',
'CORRELATIONID' => 'dbb3cf9976f1',
'ACK' => 'Success',
'VERSION' => '71.0',
'BUILD' => '2230381',
)
i trulley baffled. Will start to downgrade S2 and S2 Pro to earlier versions to see if I can find one that works.
Many thanks
PeterHuk
Re: This Is Weird!!
Posted:
November 7th, 2011, 9:41 am
by Eduan
Did the problem arise when you upgraded to the v111105 or when you upgraded to the v111029?
The newest version is the v111105.
Re: This Is Weird!!
Posted:
November 7th, 2011, 9:47 am
by peterhuk
Hi Eduan,
Not sure, I normally test every upgrade on my test site. I found the problem on 111105 then downgraded to 111029 to see if that was the problem.
There is a small chance that I did not test modifications on my test site with 111029. I am going to down grade several versions to see which one works.
Many thanks
PeterHuk
Re: This Is Weird!!
Posted:
November 7th, 2011, 10:40 am
by Eduan
OK, thanks.
Re: This Is Weird!!
Posted:
November 7th, 2011, 12:34 pm
by peterhuk
Just tried with S2 & S2 Pro ver 110815 still same problem. the S2member custom capabilities are not updating after modification.
Any suggestions?
PeterHuk
Re: This Is Weird!!
Posted:
November 7th, 2011, 12:39 pm
by Eduan
Try this post:
viewtopic.php?p=48792#p48792I believe you run into an EOT with an upgrade, if so maybe the post I gave you will solve your problem.
Re: This Is Weird!!
Posted:
November 7th, 2011, 1:12 pm
by peterhuk
Hi Eduan,
Many thanks, I have just read that post but the problem I have is diffrent. When
all is ok after a modification S2member updates the custom capabilities list (in
the user profile) to reflect their new capabilities.
The problem I have now is after a paid for modification the custom capabilities
(listed in user profile) does not get updated.
I am currently trying to find the S2member php file / class responsible for updating
the custom capabilities (let me know if you know the file / class). If I can find what
is happening to the data this may leed to a resolve.
Many thanks
PeterHuk
Re: This Is Weird!!
Posted:
November 7th, 2011, 3:26 pm
by peterhuk
The word lost is an understatement, I have de-activated all pluggins except for
the S2member plugin and the default wordpress theme.
Problem still persist.
Re: This Is Weird!!
Posted:
November 7th, 2011, 5:24 pm
by peterhuk
does anyone konw where and how S2member deals with the addition / removal of
custom capabilities after checkout?
I'm running out of time and any pointers would be appreciated.
Re: This Is Weird!!
Posted:
November 7th, 2011, 7:22 pm
by peterhuk
This problem is definately a Paypal S2meber related problem (as aposed to other plugins etc). have just restored DB from working backup
and the problem still persists.
Further info:
After the modification the Paypal Profile ID is the same as the S2member Paid Subscr. ID so an
update is being done. just not reflected in the ccap
Re: This Is Weird!!
Posted:
November 7th, 2011, 7:27 pm
by Eduan
Have you tried contacting PayPal about this? Maybe they did an update that caused this.
Re: This Is Weird!!
Posted:
November 7th, 2011, 7:57 pm
by peterhuk
I would do but the returned api shows the correct ccap. For some reason S2 or S2pro
is not updating the user ccap.
Re: This Is Weird!!
Posted:
November 7th, 2011, 8:03 pm
by Eduan
Have you tried what is on the post I gave you earlier?
It may solve your problem so why don't you take a look at it?
Here's the link once again:
viewtopic.php?p=48792#p48792
Re: This Is Weird!!
Posted:
November 7th, 2011, 8:21 pm
by peterhuk
I dont understand what your saying. There is no eot on any of the profiles. I dont even use eot
all profiles are based on an on going subscriptions basis. Or until a member cancels or fails to
pay in which case S2 will demote them to subscriber.
The user on the post you have provided uses a combination of on going and eot based subscriptions
which is not the same problem as what I am experiencing.
I am trying to debug the process to see what S2 is doing with the returned variables.
Many thanks
Peter
Re: This Is Weird!!
Posted:
November 8th, 2011, 2:01 am
by Cristián Lávaque
Peter, I emailed Jason about this. In case he needs it, could you send an email via the contact form?
http://s2member.com/contactI see in one of your logs:
5 => 's2Member Level/Capabilities updated w/ advanced update routines.',
Did you check that user's account and compare to the ccaps he paid for?
Re: This Is Weird!!
Posted:
November 8th, 2011, 7:23 am
by peterhuk
I sure did. in the paypal (sandbox) account Recurring Payments details under the
'Invoice Number' at the end of the invoice number str is the list of ccaps ie
invoice numberxxxxxxxxxx:0 D:1 M~mydomain.com~1:list,of,ccaps
The list of ccaps is correct yet when returned to S2 it appears to be ignored.
Re: This Is Weird!!
Posted:
November 8th, 2011, 12:46 pm
by cassel
I have had similar problem with one member purchasing an additional package with different ccaps and those would not be updated. Lucky for me, i dont have that many members so i can check manually when it happens . Also, the ccaps do not always add to the previous one so i ended up adding in the note fields (in the user page) that this member purchased ccaps X in September, and purchased ccaps Y in November. That gives me kind of a trail of info that otherwise seems lost.
In any case, i will follow this thread in the hope it can also help me (for when i have hundreds of purchases per day!).
Re: This Is Weird!!
Posted:
November 8th, 2011, 1:00 pm
by peterhuk
Hi cassel,
Thanks for mentioning this, it could be that other members may have simular problems
but just haven't notice yet.
I have email Jason and just waiting for a response. A small point from my investigation
is that Wordpress could also be at fault as I have disabled all other plugins, used previous
known working version of S2 and S2 Pro and have even restored the database from a working backup.
All to no avail the only variable left is Wordpress. At present I am trying to locate the
fault so that should something simular happen in future a quick resolve can hopefully
be found. But unfortunately for me time is not on my side.
PeterHuk
Re: This Is Weird!!
Posted:
November 8th, 2011, 2:29 pm
by cassel
In my case, it was more like something inconsistant so it is even harder to pinpoint. Also, if anyone is selling only one product/membership, they definitely would not notice since it would not apply to them.