Page 1 of 2
Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 9:05 am
by cassel
I launched my product today, and i noticed that i had already two sales, and checking on those members' settings, the ccaps that were incorporated in the Paypal button do not seem to appear in their user settings. Is it supposed to be automatic? delayed? I managed to add it manually for now in case it was SUPPOSED to be automatic and i made a mistake somewhere along the line in the setting up and i didn`t want an unhappy customer.
I actually noticed also that the s2Memberlevel1 was not automatically assigned either. Where might have i messed up?
Any idea?
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 11:22 am
by Cristián Lávaque
Could you show me your shortcode for the button they used to purchase?
Also post the log entries from /wp-content/plugins/s2member-logs/, x'ing out any private info, please.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 11:33 am
by cassel
I dont have that access right now (didn`t expect a reply so soon). I will get that tonight and obviously check to make sure that the ccap variable is correctly set, and the level is 1.
Unless you can see it somehow from the page itself?
http://scrapbookcampus.com/basic-tutori ... tshop-pro/ (at the very bottom)
Considering your reply, i gather that it SHOULD be automatic then? right?
P.S. i didn't expect to get sales that early so i assumed i would have time to double and triple check that!
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 12:03 pm
by Cristián Lávaque
It's great you're getting sales so soon! We'll try to fix this today so you don't have trouble with more accounts.
- Code: Select all
<input name="item_number" value="1:basic:6 M" type="hidden">
From the HTML for your button, I see that what you're selling is Level 1, with custom capability "basic", for 6 months. Is that correct?
I'll need to see your s2Member log entries for these transactions, to see where the error could be. You do have logging enabled, right? Or they won't have been logged.
WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Logging Routines
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 12:08 pm
by cassel
Yes Logging routines were enabled (following Jason`s video tutorials!). I`ll see if i can access that file since i might be able to reach the server.
Got them. I got three files One for mailchimp and 2 for paypal (ipn and rtn). What part do you need?
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 12:35 pm
by Cristián Lávaque
The PayPal ones, please. Remember to "x" out all private info before pasting the entries here, please.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 12:44 pm
by cassel
Here is the IPN one for the first transaction (i hope i x`d out the right things)
- Code: Select all
WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_notify=1
User-Agent:
array (
'mc_gross' => '49.00',
'protection_eligibility' => 'Ineligible',
'payer_id' => 'xxxxxxxxxx',
'tax' => '0.00',
'payment_date' => '05:10:10 Jul 04, 2011 PDT',
'payment_status' => 'Completed',
'charset' => 'windows-1252',
'first_name' => 'Exxxxx',
'option_selection1' => 'scrapbookcampus.com',
'option_selection2' => '7xxxx',
'mc_fee' => '1.72',
'notify_version' => '3.1',
'custom' => 'scrapbookcampus.com',
'payer_status' => 'unverified',
'business' => 'admin@dxxxxxxxxxx',
'quantity' => '1',
'verify_sign' => 'i think this is private',
'payer_email' => 'jxxxxxxxx',
'option_name1' => 'Originating Domain',
'option_name2' => 'Customer IP Address',
'txn_id' => 'private',
'payment_type' => 'instant',
'last_name' => 'Gxxxx',
'receiver_email' => 'cassel@xxx',
'payment_fee' => '1.72',
'receiver_id' => 'Vprivate',
'txn_type' => 'web_accept',
'item_name' => 'Basic',
'mc_currency' => 'USD',
'item_number' => '1:basic:6 M',
'residence_country' => 'US',
'receipt_id' => 'private',
'handling_amount' => '0.00',
'transaction_subject' => 'scrapbookcampus.com',
'payment_gross' => '49.00',
'shipping' => '0.00',
'ipn_track_id' => 'is this private?',
's2member_log' =>
array (
0 => 'IPN received on: Mon Jul 4, 2011 12:10:19 pm UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
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/o update vars.',
5 => 'Signup Confirmation Email sent to: "Elainexxxx" <xxxxxx>.',
6 => 'Storing `payment` for Subscription via (web_accept).',
7 => 'Creating an IPN response for `subscr_payment`. This will go into a Transient Queue; and be processed during registration.',
8 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => 'xxxxxxx',
'eotper' => '6 M',
'ccaps' => 'basic',
'level' => '1',
'ip' => 'xxxxxxxxx',
'period1' => '0 D',
'mc_amount1' => '0.00',
'period3' => '6 M',
'mc_amount3' => '49.00',
'initial_term' => '0 D',
'initial' => '49.00',
'regular' => '49.00',
'regular_term' => '6 M',
'recurring' => '0',
)
and the rtn one:
- Code: Select all
WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; .NET4.0C; .NET4.0E; InfoPath.1)
array (
's2member_log' =>
array (
0 => 'No Return-Data from PayPal®. Customer must wait for Email Confirmation.',
1 => 'Redirecting Customer to the Home Page.',
),
)
I hope you can make sense of all that! LOL
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 1:44 pm
by Jason Caldwell
Thanks for bringing this thread to my attention.
What did the Customer's account look like after payment was received? Did s2Member record the Payment Gateway, Subscr. ID, and the Custom value? Or nothing? What Level was the Member at when you checked on the account manually?
Also, did you complete the Auto-Return/PDT integration for s2Member?
Please check your Dashboard under: s2Member -> PayPal Options -> Auto-Return/PDT Integration.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 1:48 pm
by cassel
What did the Customer's account look like after payment was received? Did s2Member record the Payment Gateway, Subscr. ID, and the Custom value? Or nothing? What Level was the Member at when you checked on the account manually?
I am not exactly sure where is that information?
I know the member was a "subscriber" before she purchased the product, and was still a "subscriber" after i got the paypal notification. No CCAP was indicated.
And yes, the Auto-Return/PDT Integration was completed.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 1:53 pm
by Jason Caldwell
This sounds like a COOKIE issue to me. Possibly related to the www vs. without issue.
viewtopic.php?f=36&t=1066If this problem continues, please send me a Dashboard login through this private contact form and I'll have a quick look for you.
http://www.s2member.com/contact/
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 2:08 pm
by cassel
I noticed the same behavior for the first two customers. One tester is supposed to get back to me, but i noticed the transaction going through, but she was not a member before the transaction and still is not a member now (being in Australia right now, she is likely not available). Another one of my friend will try tonight and she is already a member.
Anything in particular i should ask my testers to check to help pinpoint any problem?
I will check with the www issue, but i have never used it WITH the www in any link i gave so i am not sure how pertinent that part is.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 2:35 pm
by Jason Caldwell
It sounds to me like your Auto-Return/PDT integration is not working as expected. In cases where Auto-Return/PDT is broken, a Customer could return from checkout and attempt to register immediately ( if Open Registration is on ). In this event, the immediate registration would NOT be recognized as a paid registration, because the Auto-Return/PDT integration failed, as is indicated by your logs.
In order to correct the issue, you'll need your paypal-rtn.log file to be error free. The existing Auto-Return/PDT errors are the most likely cause of this problem. I would start by triple checking your Auto-Return/PDT configuration for s2Member, and be sure to go back over your PayPal account settings for Auto-Return as well. Your logs indicate an absence of any data being returned by PayPal.
If this problem continues, please send us a Dashboard login and we'll have a look for you.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 3:57 pm
by cassel
OK, i remember having questions about that return URL. I already have a return URL for another site (my scrap store), how am i supposed to add the URL given in the Paypal Option > PDT/Auto-Return Integration to send customers from the SECOND website to the right place? Is the URL given in the paypal button shortcode overriding it the one originally placed at Paypal from the initial store?
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 5:58 pm
by Jason Caldwell
Is the URL given in the paypal button shortcode overriding it the one originally placed at Paypal from the initial store?
Yes, s2Member will automatically configure the Auto-Return URL dynamically within the Button Code. You just need to make sure that your PayPal account has Auto-Return enabled, and that PDT is also enabled. Also, be sure that s2Member has the correct PDT Identity Token.
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 6:07 pm
by cassel
ok, all that was correct (since this afternoon, i just added one ccaps to the code but that, i know where it goes). The Auto-Return was enabled and the PDT was also enabled. Just waiting for my volunteer to be available to test. (unless you want to??)
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 8:19 pm
by cassel
OK got it tested and i had changed the shortcode a tiny bit to add another ccaps. Here is the code i used:
- Code: Select all
[s2Member-PayPal-Button level="1" ccaps="basic,forum" desc="Basic Scrap Course with PSP" ps="ScrapbookCampus" lc="" cc="USD" dg="0" ns="1" custom="scrapbookcampus.com" ta="0" tp="0" tt="D" ra="49" rp="6" rt="M" rr="BN" rrt="" rra="1" success="http://scrapbookcampus.com/success-basic/" image="http://scrapbookcampus.com/Images/buy-now-yellow.png" output="button" /]
The transaction went through correctly and the status was automatically updated. That is fine now. However, although i have this:
success="http://scrapbookcampus.com/success-basic/"
the user was sent back to the log in screen EVEN THOUGH she was logged in BEFORE she hit the buy button. She logged in and then was sent to the Welcome back page, which is NOT the success-basic page she was supposed to reach (and where the goodies are hidden from outside view).
Any idea?
Re: Are CCAPS set automatically upon payment?
Posted:
July 4th, 2011, 11:01 pm
by Jason Caldwell
Nice work.Yea, that's the intended behavior. The success attribute only affects new Signups, and does NOT affect existing Customers who are upgrading or downgrading.
success="" Success Return URL ( optional ). s2Member handles this automatically for you. However, if you would prefer to take control over the landing page after checkout ( i.e. your own custom Thank-You Page ), you can. If supplied, this must be a full URL, starting with http://. Note, s2Member will NOT use this value if an existing account holder is being modified. s2Member handles account updates ( i.e. billing modification ) in a more dynamic way. Your Success Return URL is only applied to (new) Customers.
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 5:20 am
by cassel
Oh, i didn't understand it that way. Thanks for clarifying. However, i think this is something that should be addressed: i am building a relationship with my visitors and offering some free stuff with registration (and adding them to the maling list along the way). I think this would be a plus if s2Member could handle it.
One thing i got from those who tested yesterday is that they had a hard time logging in after the transaction (even if they were logging in BEFORE the transaction, they seemed to be logged out)
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 7:29 am
by cassel
More test this morning and not good result:
- user was registered already (but i asked her to create a new log in after payment to pretend she was new)
- transaction went through
- she was redirected to the correct page which determined she was not logged in (with the conditionals)
- in the login widget, there was no REGISTER but only a SIGN IN but it sent her to the Membership Option page (
http://scrapbookcampus.com/membership-options/) which is NOT expected for that purpose
- she clicked LOST PASSWORD and was directed to the normal page for that purpose
- THERE she found a REGISTER button, and she tried it but then was directed to the correct page for registering
- she tried creating a new user name but it directed her back to the log in screen with an error message (now, i am wondering if it is because she used the same email as her previous user ID)
Now, i deleted her account completely and will see how it does.
This running around and not being able to register/login is what the first customers/tester reported.
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 8:42 am
by cassel
Yes, me again. After more testing it turns out to display two scenarios:
If the user is already registered and clicks the buy button:
- the ccaps and levels are updated automatically
- the user is redirected to the Membership Option page (which is NOT the page i would like the member to get first) and since the bonus page is hidden the user cannot reach it on their own.
If the user is a NEW visitor (no previous registration):
- the ccaps are NOT set automatically nor the level
- the user is redirected to the correct "bonus" page (in my case that is how i would call it) but not registered so they have to detour to register before getting back to that page, but since that page is hidden, it is hard to found back for the user
Now, maybe it has nothing to do with the s2Member? Maybe it is wrongly configured on my end? Any suggestion?
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 7:01 pm
by Jason Caldwell
Thanks for the follow-up.
Can we see your log files for the most recent tests please?
Do you still have errors in your Auto-Return/PDT log ( i.e. your paypal-rtn.log file ).
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 7:22 pm
by cassel
This is what i have for the latest transaction
- Code: Select all
WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1&tx=1W197904V0388640E&st=Completed&amt=1.00&cc=USD&cm=scrapbookcampus%2ecom&item_number=1:basic,forum:6%20M
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30
array (
'mc_gross' => '1.00',
'protection_eligibility' => 'Ineligible',
'payer_id' => 'xxxxx',
'tax' => '0.00',
'payment_date' => '06:13:37 Jul 05, 2011 PDT',
'payment_status' => 'Completed',
'charset' => 'windows-1252',
'first_name' => 'Melissa',
'option_selection1' => '71',
'option_selection2' => 'xxxxxx',
'mc_fee' => '0.34',
'custom' => 'scrapbookcampus.com',
'payer_status' => 'unverified',
'business' => 'admin@digiscrapcampus.com',
'quantity' => '1',
'payer_email' => 'melissaxxxxxx',
'option_name1' => 'Referencing Customer ID',
'option_name2' => 'Customer IP Address',
'txn_id' => 'xxxxxxx',
'payment_type' => 'instant',
'last_name' => 'xxxxxx',
'receiver_email' => 'cassel@nbnet.nb.ca',
'payment_fee' => '0.34',
'receiver_id' => 'xxxxxxxxx',
'txn_type' => 'web_accept',
'item_name' => 'Basic Scrap Course with Paintshop Pro',
'mc_currency' => 'USD',
'item_number' => '1:basic,forum:6 M',
'residence_country' => 'AU',
'handling_amount' => '0.00',
'transaction_subject' => 'scrapbookcampus.com',
'payment_gross' => '1.00',
'shipping' => '0.00',
's2member_log' =>
array (
0 => 'Return-Data received on: Tue Jul 5, 2011 1:13:45 pm UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 's2Member originating domain ( _SERVER[HTTP_HOST] ) validated.',
3 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment).',
4 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment) w/ update vars.',
5 => 'Automatic EOT ( End Of Term ) Time will be set to: Sun Jul 1, 2012 1:13:42 pm UTC.',
6 => 's2Member Level/Capabilities updated w/ advanced update routines.',
7 => 'Redirecting Customer to the Login Page. They need to log back in.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => '1xxxxx',
'eotper' => '6 M',
'ccaps' => 'basic,forum',
'level' => '1',
'ip' => '20xxxxxxx',
)
I have no idea if there is anything wrong there.
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 8:19 pm
by Jason Caldwell
If the user is already registered and clicks the buy button:
- the ccaps and levels are updated automatically
- the user is redirected to the Membership Option page (which is NOT the page i would like the member to get first) and since the bonus page is hidden the user cannot reach it on their own.
So the last log entry that you supplied is for this transaction, I assume. Your log entry indicates the Customer was sent back to the Login Page. That's the intended behavior. After an account modification, s2Member asks the Customer to log back into their account. Upon logging back in, they will be redirected to their Login Welcome Page.
I understand that you're saying the Customer somehow reached your Membership Options Page though? I'm a little confused about how this happened. That would NOT be the intended behavior, and the log file you supplied indicates that was not the case.
If the user is a NEW visitor (no previous registration):
- the ccaps are NOT set automatically nor the level
- the user is redirected to the correct "bonus" page (in my case that is how i would call it) but not registered so they have to detour to register before getting back to that page, but since that page is hidden, it is hard to found back for the user
Do you have a log entry for this one please?
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 8:27 pm
by cassel
- Code: Select all
WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1&tx=49R476168Y565824D&st=Completed&amt=49.00&cc=USD&cm=scrapbookcampus%2ecom&item_number=1:basic,forum:6%20M
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30
array (
'mc_gross' => '49.00',
'protection_eligibility' => 'Ineligible',
'payer_id' => 'xxxxx',
'tax' => '0.00',
'payment_date' => '17:57:04 Jul 04, 2011 PDT',
'payment_status' => 'Completed',
'charset' => 'windows-1252',
'first_name' => 'Danielle',
'option_selection1' => '8',
'option_selection2' => '7xxxx',
'mc_fee' => '1.72',
'custom' => 'scrapbookcampus.com',
'payer_status' => 'unverified',
'business' => 'admin@digiscrapcampus.com',
'quantity' => '1',
'payer_email' => 'xxxxx',
'option_name1' => 'Referencing Customer ID',
'option_name2' => 'Customer IP Address',
'txn_id' => 'xxxxxx',
'payment_type' => 'instant',
'last_name' => 'xxxx',
'receiver_email' => 'cassel@nbnet.nb.ca',
'payment_fee' => '1.72',
'receiver_id' => 'xxxx',
'txn_type' => 'web_accept',
'item_name' => 'Basic Scrap Course with PSP',
'mc_currency' => 'USD',
'item_number' => '1:basic,forum:6 M',
'residence_country' => 'US',
'handling_amount' => '0.00',
'transaction_subject' => 'scrapbookcampus.com',
'payment_gross' => '49.00',
'shipping' => '0.00',
's2member_log' =>
array (
0 => 'Return-Data received on: Tue Jul 5, 2011 12:57:03 am UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 's2Member originating domain ( _SERVER[HTTP_HOST] ) validated.',
3 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment).',
4 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment) w/ update vars.',
5 => 'Automatic EOT ( End Of Term ) Time will be set to: Sun Jul 1, 2012 12:57:01 am UTC.',
6 => 's2Member Level/Capabilities updated w/ advanced update routines.',
7 => 'Redirecting Customer to the Login Page. They need to log back in.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => 'xxxxx',
'eotper' => '6 M',
'ccaps' => 'basic,forum',
'level' => '1',
'ip' => '7xxx',
)
If needed i can get more tests tonight, but i am not sure which scenario i want/need to test now.
Re: Are CCAPS set automatically upon payment?
Posted:
July 5th, 2011, 8:37 pm
by Jason Caldwell
Thanks for the follow-up.
That last log entry was for another upgrade.Do you have a log entry that indicates the following behavior?
If the user is a NEW visitor (no previous registration):
- the ccaps are NOT set automatically nor the level
- the user is redirected to the correct "bonus" page (in my case that is how i would call it) but not registered so they have to detour to register before getting back to that page, but since that page is hidden, it is hard to found back for the user