PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Billing Update Form not updating profile in paypal

s2Member Plugin. A Membership plugin for WordPress®.

Billing Update Form not updating profile in paypal

Postby toddz88 » May 29th, 2011, 2:48 am

A submission of my Billing Update Form shows "Thank you. Your billing information has been updated."
BUT Paypal does NOT actually get/show the change. I am testing by changing the Expiration Date.

My Checkout/Registration and Cancellation forms work fine, and communicate with Paypal correctly.
I'm not sure how to troubleshoot this one. Any help greatly appreciated.
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: Billing Update Form not updating profile in paypal

Postby Cristián Lávaque » May 29th, 2011, 11:08 am

But are you upgrading/downgrading the account? And is the biling modification created for the level the account you're testing is at? Could you show me the shortcode for the form?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Billing Update Form not updating profile in paypal

Postby toddz88 » May 29th, 2011, 11:35 am

Hi Cristián,

Nope, this is not an upgrade/downgrade, it's not the Billing MODIFICATION Form. This is just the Billing UPDATE Form, so members can:
update their billing information; without modifying their existing paid Subscription in any way. For instance, a Customer may need to update their billing information, because their credit card is expiring, or because they moved their bank account


Here's my shortcode, straight from wp-admin > s2Member > Paypal Pro-Forms > Paypal Pro Billing Update Forms:
Code: Select all
[s2Member-Pro-PayPal-Form update="1" desc="Update your billing information." accept="paypal,visa,mastercard,amex" default_country_code="" captcha="0" /]


The shortcode creates the form correctly, and the form thinks it worked, so it shows the Success/ThankYou message at the top after submission. But Paypal does not reflect the change.
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: Billing Update Form not updating profile in paypal

Postby Cristián Lávaque » May 29th, 2011, 11:56 am

Oh, ok. Sorry about the confusion.

Could you post the log entry for it, please?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Billing Update Form not updating profile in paypal

Postby toddz88 » May 29th, 2011, 12:39 pm

Thanks for helping me look into this!
Ok.. in my paypal-api.log file, I am surprised to see *5* entries after a single submission of the Update Billing Form.

Quick summary.. see how close in seconds they are to each other. And see how in 3 of them the url is "billing" (my Update Billing form), yet the other 2 urls are "cancel" (which is my Cancel Membership form) .. very strange!! The member is not trying to cancel, and does not get cancelled, yet the log shows that url twice. I don't even understand why there are 5 entries instead of 1 here.

1)
http://www.idealfinancialinformation.co ... t/billing/
-------- Input vars: ( Sun May 29, 2011 1:24:17 pm EDT ) --------
'METHOD' => 'GetRecurringPaymentsProfileDetails',

2)
http://www.idealfinancialinformation.co ... nt/cancel/
-------- Input vars: ( Sun May 29, 2011 1:24:19 pm EDT ) --------
'METHOD' => 'GetRecurringPaymentsProfileDetails',

3)
http://www.idealfinancialinformation.co ... t/billing/
-------- Input vars: ( Sun May 29, 2011 1:24:44 pm EDT ) --------
'METHOD' => 'GetRecurringPaymentsProfileDetails',

4)
http://www.idealfinancialinformation.co ... t/billing/
-------- Input vars: ( Sun May 29, 2011 1:24:44 pm EDT ) --------
'METHOD' => 'GetRecurringPaymentsProfileDetails',

5)
http://www.idealfinancialinformation.co ... nt/cancel/
-------- Input vars: ( Sun May 29, 2011 1:24:46 pm EDT ) --------
'METHOD' => 'GetRecurringPaymentsProfileDetails',

Now here's the full log of all 5 entries:

Code: Select all
www.idealfinancialinformation.com/wp-ideal/account/billing/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
-------- Input vars: ( Sun May 29, 2011 1:24:17 pm EDT ) --------
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'METHOD' => 'GetRecurringPaymentsProfileDetails',
  'VERSION' => '63.0',
  'USER' => 'bizpro_1290149100_biz_api1.tzeldin.com',
  'PWD' => '1290149145',
  'SIGNATURE' => 'At1tAa8x6Ck.4qoVcoGavoTWtEUDA9tmO2pqjXw.pbYvrXcBSahXxLYe',
)
-------- Output string/vars: ( Sun May 29, 2011 1:24:18 pm EDT ) --------
PROFILEID=I%2dPYMNNNE2HECE&STATUS=Active&AUTOBILLOUTAMT=AddToNextBilling&DESC=Individual%20membership%3a%20%241%20USD%20%2f%20Month%20%28plus%20no%2drisk%207%2dday%20trial%29&MAXFAILEDPAYMENTS=2&SUBSCRIBERNAME=Testfirst%20Testlast&PROFILESTARTDATE=2011%2d05%2d30T07%3a00%3a00Z&PROFILEREFERENCE=1306732660%3a7%20D%3a1%20M%7ewww%2eidealfinancialinformation%2ecom%7e1&NEXTBILLINGDATE=2011%2d05%2d30T10%3a00%3a00Z&NUMCYCLESCOMPLETED=0&NUMCYCLESREMAINING=1&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&TRIALAMTPAID=0%2e00&REGULARAMTPAID=0%2e00&AGGREGATEAMT=0%2e00&AGGREGATEOPTIONALAMT=0%2e00&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2011%2d05%2d29T17%3a24%3a18Z&CORRELATIONID=d983bd318fcdc&ACK=Success&VERSION=63%2e0&BUILD=1863577&BILLINGPERIOD=Day&BILLINGFREQUENCY=7&TOTALBILLINGCYCLES=1&CURRENCYCODE=USD&AMT=0%2e00&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00&TRIALBILLINGPERIOD=Day&TRIALBILLINGFREQUENCY=7&TRIALTOTALBILLINGCYCLES=1&TRIALCURRENCYCODE=USD&TRIALAMT=0%2e00&TRIALSHIPPINGAMT=0%2e00&TRIALTAXAMT=0%2e00&REGULARBILLINGPERIOD=Month&REGULARBILLINGFREQUENCY=1&REGULARTOTALBILLINGCYCLES=0&REGULARCURRENCYCODE=USD&REGULARAMT=1%2e00&REGULARSHIPPINGAMT=0%2e00&REGULARTAXAMT=0%2e00&ACCT=6849&CREDITCARDTYPE=Visa&EXPDATE=112015&EMAIL=test%2dtz%2d50%40tzeldin%2ecom&FIRSTNAME=Testfirst&LASTNAME=Testlast&STREET=123%20Main%20st&CITY=Sometown&STATE=CA&ZIP=19034&COUNTRYCODE=US&COUNTRY=United%20States&ADDRESSOWNER=PayPal&ADDRESSSTATUS=Unconfirmed&PAYERSTATUS=unverified
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'STATUS' => 'Active',
  'AUTOBILLOUTAMT' => 'AddToNextBilling',
  'DESC' => 'Individual membership: $1 USD / Month (plus no-risk 7-day trial)',
  'MAXFAILEDPAYMENTS' => '2',
  'SUBSCRIBERNAME' => 'Testfirst Testlast',
  'PROFILESTARTDATE' => '2011-05-30T07:00:00Z',
  'PROFILEREFERENCE' => '1306732660:7 D:1 M~www.idealfinancialinformation.com~1',
  'NEXTBILLINGDATE' => '2011-05-30T10:00:00Z',
  'NUMCYCLESCOMPLETED' => '0',
  'NUMCYCLESREMAINING' => '1',
  'OUTSTANDINGBALANCE' => '0.00',
  'FAILEDPAYMENTCOUNT' => '0',
  'TRIALAMTPAID' => '0.00',
  'REGULARAMTPAID' => '0.00',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.00',
  'FINALPAYMENTDUEDATE' => '1970-01-01T00:00:00Z',
  'TIMESTAMP' => '2011-05-29T17:24:18Z',
  'CORRELATIONID' => 'd983bd318fcdc',
  'ACK' => 'Success',
  'VERSION' => '63.0',
  'BUILD' => '1863577',
  'BILLINGPERIOD' => 'Day',
  'BILLINGFREQUENCY' => '7',
  'TOTALBILLINGCYCLES' => '1',
  'CURRENCYCODE' => 'USD',
  'AMT' => '0.00',
  'SHIPPINGAMT' => '0.00',
  'TAXAMT' => '0.00',
  'TRIALBILLINGPERIOD' => 'Day',
  'TRIALBILLINGFREQUENCY' => '7',
  'TRIALTOTALBILLINGCYCLES' => '1',
  'TRIALCURRENCYCODE' => 'USD',
  'TRIALAMT' => '0.00',
  'TRIALSHIPPINGAMT' => '0.00',
  'TRIALTAXAMT' => '0.00',
  'REGULARBILLINGPERIOD' => 'Month',
  'REGULARBILLINGFREQUENCY' => '1',
  'REGULARTOTALBILLINGCYCLES' => '0',
  'REGULARCURRENCYCODE' => 'USD',
  'REGULARAMT' => '1.00',
  'REGULARSHIPPINGAMT' => '0.00',
  'REGULARTAXAMT' => '0.00',
  'ACCT' => '6849',
  'CREDITCARDTYPE' => 'Visa',
  'EXPDATE' => '112015',
  'EMAIL' => 'test-tz-50@tzeldin.com',
  'FIRSTNAME' => 'Testfirst',
  'LASTNAME' => 'Testlast',
  'STREET' => '123 Main st',
  'CITY' => 'Sometown',
  'STATE' => 'CA',
  'ZIP' => '19034',
  'COUNTRYCODE' => 'US',
  'COUNTRY' => 'United States',
  'ADDRESSOWNER' => 'PayPal',
  'ADDRESSSTATUS' => 'Unconfirmed',
  'PAYERSTATUS' => 'unverified',
)

www.idealfinancialinformation.com/wp-ideal/account/cancel/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
-------- Input vars: ( Sun May 29, 2011 1:24:19 pm EDT ) --------
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'METHOD' => 'GetRecurringPaymentsProfileDetails',
  'VERSION' => '63.0',
  'USER' => 'bizpro_1290149100_biz_api1.tzeldin.com',
  'PWD' => '1290149145',
  'SIGNATURE' => 'At1tAa8x6Ck.4qoVcoGavoTWtEUDA9tmO2pqjXw.pbYvrXcBSahXxLYe',
)
-------- Output string/vars: ( Sun May 29, 2011 1:24:19 pm EDT ) --------
PROFILEID=I%2dPYMNNNE2HECE&STATUS=Active&AUTOBILLOUTAMT=AddToNextBilling&DESC=Individual%20membership%3a%20%241%20USD%20%2f%20Month%20%28plus%20no%2drisk%207%2dday%20trial%29&MAXFAILEDPAYMENTS=2&SUBSCRIBERNAME=Testfirst%20Testlast&PROFILESTARTDATE=2011%2d05%2d30T07%3a00%3a00Z&PROFILEREFERENCE=1306732660%3a7%20D%3a1%20M%7ewww%2eidealfinancialinformation%2ecom%7e1&NEXTBILLINGDATE=2011%2d05%2d30T10%3a00%3a00Z&NUMCYCLESCOMPLETED=0&NUMCYCLESREMAINING=1&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&TRIALAMTPAID=0%2e00&REGULARAMTPAID=0%2e00&AGGREGATEAMT=0%2e00&AGGREGATEOPTIONALAMT=0%2e00&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2011%2d05%2d29T17%3a24%3a20Z&CORRELATIONID=5c2865d12e044&ACK=Success&VERSION=63%2e0&BUILD=1863577&BILLINGPERIOD=Day&BILLINGFREQUENCY=7&TOTALBILLINGCYCLES=1&CURRENCYCODE=USD&AMT=0%2e00&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00&TRIALBILLINGPERIOD=Day&TRIALBILLINGFREQUENCY=7&TRIALTOTALBILLINGCYCLES=1&TRIALCURRENCYCODE=USD&TRIALAMT=0%2e00&TRIALSHIPPINGAMT=0%2e00&TRIALTAXAMT=0%2e00&REGULARBILLINGPERIOD=Month&REGULARBILLINGFREQUENCY=1&REGULARTOTALBILLINGCYCLES=0&REGULARCURRENCYCODE=USD&REGULARAMT=1%2e00&REGULARSHIPPINGAMT=0%2e00&REGULARTAXAMT=0%2e00&ACCT=6849&CREDITCARDTYPE=Visa&EXPDATE=112015&EMAIL=test%2dtz%2d50%40tzeldin%2ecom&FIRSTNAME=Testfirst&LASTNAME=Testlast&STREET=123%20Main%20st&CITY=Sometown&STATE=CA&ZIP=19034&COUNTRYCODE=US&COUNTRY=United%20States&ADDRESSOWNER=PayPal&ADDRESSSTATUS=Unconfirmed&PAYERSTATUS=unverified
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'STATUS' => 'Active',
  'AUTOBILLOUTAMT' => 'AddToNextBilling',
  'DESC' => 'Individual membership: $1 USD / Month (plus no-risk 7-day trial)',
  'MAXFAILEDPAYMENTS' => '2',
  'SUBSCRIBERNAME' => 'Testfirst Testlast',
  'PROFILESTARTDATE' => '2011-05-30T07:00:00Z',
  'PROFILEREFERENCE' => '1306732660:7 D:1 M~www.idealfinancialinformation.com~1',
  'NEXTBILLINGDATE' => '2011-05-30T10:00:00Z',
  'NUMCYCLESCOMPLETED' => '0',
  'NUMCYCLESREMAINING' => '1',
  'OUTSTANDINGBALANCE' => '0.00',
  'FAILEDPAYMENTCOUNT' => '0',
  'TRIALAMTPAID' => '0.00',
  'REGULARAMTPAID' => '0.00',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.00',
  'FINALPAYMENTDUEDATE' => '1970-01-01T00:00:00Z',
  'TIMESTAMP' => '2011-05-29T17:24:20Z',
  'CORRELATIONID' => '5c2865d12e044',
  'ACK' => 'Success',
  'VERSION' => '63.0',
  'BUILD' => '1863577',
  'BILLINGPERIOD' => 'Day',
  'BILLINGFREQUENCY' => '7',
  'TOTALBILLINGCYCLES' => '1',
  'CURRENCYCODE' => 'USD',
  'AMT' => '0.00',
  'SHIPPINGAMT' => '0.00',
  'TAXAMT' => '0.00',
  'TRIALBILLINGPERIOD' => 'Day',
  'TRIALBILLINGFREQUENCY' => '7',
  'TRIALTOTALBILLINGCYCLES' => '1',
  'TRIALCURRENCYCODE' => 'USD',
  'TRIALAMT' => '0.00',
  'TRIALSHIPPINGAMT' => '0.00',
  'TRIALTAXAMT' => '0.00',
  'REGULARBILLINGPERIOD' => 'Month',
  'REGULARBILLINGFREQUENCY' => '1',
  'REGULARTOTALBILLINGCYCLES' => '0',
  'REGULARCURRENCYCODE' => 'USD',
  'REGULARAMT' => '1.00',
  'REGULARSHIPPINGAMT' => '0.00',
  'REGULARTAXAMT' => '0.00',
  'ACCT' => '6849',
  'CREDITCARDTYPE' => 'Visa',
  'EXPDATE' => '112015',
  'EMAIL' => 'test-tz-50@tzeldin.com',
  'FIRSTNAME' => 'Testfirst',
  'LASTNAME' => 'Testlast',
  'STREET' => '123 Main st',
  'CITY' => 'Sometown',
  'STATE' => 'CA',
  'ZIP' => '19034',
  'COUNTRYCODE' => 'US',
  'COUNTRY' => 'United States',
  'ADDRESSOWNER' => 'PayPal',
  'ADDRESSSTATUS' => 'Unconfirmed',
  'PAYERSTATUS' => 'unverified',
)

www.idealfinancialinformation.com/wp-ideal/account/billing/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
-------- Input vars: ( Sun May 29, 2011 1:24:44 pm EDT ) --------
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'METHOD' => 'GetRecurringPaymentsProfileDetails',
  'VERSION' => '63.0',
  'USER' => 'bizpro_1290149100_biz_api1.tzeldin.com',
  'PWD' => '1290149145',
  'SIGNATURE' => 'At1tAa8x6Ck.4qoVcoGavoTWtEUDA9tmO2pqjXw.pbYvrXcBSahXxLYe',
)
-------- Output string/vars: ( Sun May 29, 2011 1:24:44 pm EDT ) --------
PROFILEID=I%2dPYMNNNE2HECE&STATUS=Active&AUTOBILLOUTAMT=AddToNextBilling&DESC=Individual%20membership%3a%20%241%20USD%20%2f%20Month%20%28plus%20no%2drisk%207%2dday%20trial%29&MAXFAILEDPAYMENTS=2&SUBSCRIBERNAME=Testfirst%20Testlast&PROFILESTARTDATE=2011%2d05%2d30T07%3a00%3a00Z&PROFILEREFERENCE=1306732660%3a7%20D%3a1%20M%7ewww%2eidealfinancialinformation%2ecom%7e1&NEXTBILLINGDATE=2011%2d05%2d30T10%3a00%3a00Z&NUMCYCLESCOMPLETED=0&NUMCYCLESREMAINING=1&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&TRIALAMTPAID=0%2e00&REGULARAMTPAID=0%2e00&AGGREGATEAMT=0%2e00&AGGREGATEOPTIONALAMT=0%2e00&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2011%2d05%2d29T17%3a24%3a45Z&CORRELATIONID=20c61e874d326&ACK=Success&VERSION=63%2e0&BUILD=1863577&BILLINGPERIOD=Day&BILLINGFREQUENCY=7&TOTALBILLINGCYCLES=1&CURRENCYCODE=USD&AMT=0%2e00&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00&TRIALBILLINGPERIOD=Day&TRIALBILLINGFREQUENCY=7&TRIALTOTALBILLINGCYCLES=1&TRIALCURRENCYCODE=USD&TRIALAMT=0%2e00&TRIALSHIPPINGAMT=0%2e00&TRIALTAXAMT=0%2e00&REGULARBILLINGPERIOD=Month&REGULARBILLINGFREQUENCY=1&REGULARTOTALBILLINGCYCLES=0&REGULARCURRENCYCODE=USD&REGULARAMT=1%2e00&REGULARSHIPPINGAMT=0%2e00&REGULARTAXAMT=0%2e00&ACCT=6849&CREDITCARDTYPE=Visa&EXPDATE=112015&EMAIL=test%2dtz%2d50%40tzeldin%2ecom&FIRSTNAME=Testfirst&LASTNAME=Testlast&STREET=123%20Main%20st&CITY=Sometown&STATE=CA&ZIP=19034&COUNTRYCODE=US&COUNTRY=United%20States&ADDRESSOWNER=PayPal&ADDRESSSTATUS=Unconfirmed&PAYERSTATUS=unverified
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'STATUS' => 'Active',
  'AUTOBILLOUTAMT' => 'AddToNextBilling',
  'DESC' => 'Individual membership: $1 USD / Month (plus no-risk 7-day trial)',
  'MAXFAILEDPAYMENTS' => '2',
  'SUBSCRIBERNAME' => 'Testfirst Testlast',
  'PROFILESTARTDATE' => '2011-05-30T07:00:00Z',
  'PROFILEREFERENCE' => '1306732660:7 D:1 M~www.idealfinancialinformation.com~1',
  'NEXTBILLINGDATE' => '2011-05-30T10:00:00Z',
  'NUMCYCLESCOMPLETED' => '0',
  'NUMCYCLESREMAINING' => '1',
  'OUTSTANDINGBALANCE' => '0.00',
  'FAILEDPAYMENTCOUNT' => '0',
  'TRIALAMTPAID' => '0.00',
  'REGULARAMTPAID' => '0.00',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.00',
  'FINALPAYMENTDUEDATE' => '1970-01-01T00:00:00Z',
  'TIMESTAMP' => '2011-05-29T17:24:45Z',
  'CORRELATIONID' => '20c61e874d326',
  'ACK' => 'Success',
  'VERSION' => '63.0',
  'BUILD' => '1863577',
  'BILLINGPERIOD' => 'Day',
  'BILLINGFREQUENCY' => '7',
  'TOTALBILLINGCYCLES' => '1',
  'CURRENCYCODE' => 'USD',
  'AMT' => '0.00',
  'SHIPPINGAMT' => '0.00',
  'TAXAMT' => '0.00',
  'TRIALBILLINGPERIOD' => 'Day',
  'TRIALBILLINGFREQUENCY' => '7',
  'TRIALTOTALBILLINGCYCLES' => '1',
  'TRIALCURRENCYCODE' => 'USD',
  'TRIALAMT' => '0.00',
  'TRIALSHIPPINGAMT' => '0.00',
  'TRIALTAXAMT' => '0.00',
  'REGULARBILLINGPERIOD' => 'Month',
  'REGULARBILLINGFREQUENCY' => '1',
  'REGULARTOTALBILLINGCYCLES' => '0',
  'REGULARCURRENCYCODE' => 'USD',
  'REGULARAMT' => '1.00',
  'REGULARSHIPPINGAMT' => '0.00',
  'REGULARTAXAMT' => '0.00',
  'ACCT' => '6849',
  'CREDITCARDTYPE' => 'Visa',
  'EXPDATE' => '112015',
  'EMAIL' => 'test-tz-50@tzeldin.com',
  'FIRSTNAME' => 'Testfirst',
  'LASTNAME' => 'Testlast',
  'STREET' => '123 Main st',
  'CITY' => 'Sometown',
  'STATE' => 'CA',
  'ZIP' => '19034',
  'COUNTRYCODE' => 'US',
  'COUNTRY' => 'United States',
  'ADDRESSOWNER' => 'PayPal',
  'ADDRESSSTATUS' => 'Unconfirmed',
  'PAYERSTATUS' => 'unverified',
)

www.idealfinancialinformation.com/wp-ideal/account/billing/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
-------- Input vars: ( Sun May 29, 2011 1:24:44 pm EDT ) --------
array (
  'METHOD' => 'GetRecurringPaymentsProfileDetails',
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'VERSION' => '63.0',
  'USER' => 'bizpro_1290149100_biz_api1.tzeldin.com',
  'PWD' => '1290149145',
  'SIGNATURE' => 'At1tAa8x6Ck.4qoVcoGavoTWtEUDA9tmO2pqjXw.pbYvrXcBSahXxLYe',
)
-------- Output string/vars: ( Sun May 29, 2011 1:24:45 pm EDT ) --------
PROFILEID=I%2dPYMNNNE2HECE&STATUS=Active&AUTOBILLOUTAMT=AddToNextBilling&DESC=Individual%20membership%3a%20%241%20USD%20%2f%20Month%20%28plus%20no%2drisk%207%2dday%20trial%29&MAXFAILEDPAYMENTS=2&SUBSCRIBERNAME=Testfirst%20Testlast&PROFILESTARTDATE=2011%2d05%2d30T07%3a00%3a00Z&PROFILEREFERENCE=1306732660%3a7%20D%3a1%20M%7ewww%2eidealfinancialinformation%2ecom%7e1&NEXTBILLINGDATE=2011%2d05%2d30T10%3a00%3a00Z&NUMCYCLESCOMPLETED=0&NUMCYCLESREMAINING=1&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&TRIALAMTPAID=0%2e00&REGULARAMTPAID=0%2e00&AGGREGATEAMT=0%2e00&AGGREGATEOPTIONALAMT=0%2e00&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2011%2d05%2d29T17%3a24%3a45Z&CORRELATIONID=4e938fccb8faf&ACK=Success&VERSION=63%2e0&BUILD=1863577&BILLINGPERIOD=Day&BILLINGFREQUENCY=7&TOTALBILLINGCYCLES=1&CURRENCYCODE=USD&AMT=0%2e00&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00&TRIALBILLINGPERIOD=Day&TRIALBILLINGFREQUENCY=7&TRIALTOTALBILLINGCYCLES=1&TRIALCURRENCYCODE=USD&TRIALAMT=0%2e00&TRIALSHIPPINGAMT=0%2e00&TRIALTAXAMT=0%2e00&REGULARBILLINGPERIOD=Month&REGULARBILLINGFREQUENCY=1&REGULARTOTALBILLINGCYCLES=0&REGULARCURRENCYCODE=USD&REGULARAMT=1%2e00&REGULARSHIPPINGAMT=0%2e00&REGULARTAXAMT=0%2e00&ACCT=6849&CREDITCARDTYPE=Visa&EXPDATE=112015&EMAIL=test%2dtz%2d50%40tzeldin%2ecom&FIRSTNAME=Testfirst&LASTNAME=Testlast&STREET=123%20Main%20st&CITY=Sometown&STATE=CA&ZIP=19034&COUNTRYCODE=US&COUNTRY=United%20States&ADDRESSOWNER=PayPal&ADDRESSSTATUS=Unconfirmed&PAYERSTATUS=unverified
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'STATUS' => 'Active',
  'AUTOBILLOUTAMT' => 'AddToNextBilling',
  'DESC' => 'Individual membership: $1 USD / Month (plus no-risk 7-day trial)',
  'MAXFAILEDPAYMENTS' => '2',
  'SUBSCRIBERNAME' => 'Testfirst Testlast',
  'PROFILESTARTDATE' => '2011-05-30T07:00:00Z',
  'PROFILEREFERENCE' => '1306732660:7 D:1 M~www.idealfinancialinformation.com~1',
  'NEXTBILLINGDATE' => '2011-05-30T10:00:00Z',
  'NUMCYCLESCOMPLETED' => '0',
  'NUMCYCLESREMAINING' => '1',
  'OUTSTANDINGBALANCE' => '0.00',
  'FAILEDPAYMENTCOUNT' => '0',
  'TRIALAMTPAID' => '0.00',
  'REGULARAMTPAID' => '0.00',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.00',
  'FINALPAYMENTDUEDATE' => '1970-01-01T00:00:00Z',
  'TIMESTAMP' => '2011-05-29T17:24:45Z',
  'CORRELATIONID' => '4e938fccb8faf',
  'ACK' => 'Success',
  'VERSION' => '63.0',
  'BUILD' => '1863577',
  'BILLINGPERIOD' => 'Day',
  'BILLINGFREQUENCY' => '7',
  'TOTALBILLINGCYCLES' => '1',
  'CURRENCYCODE' => 'USD',
  'AMT' => '0.00',
  'SHIPPINGAMT' => '0.00',
  'TAXAMT' => '0.00',
  'TRIALBILLINGPERIOD' => 'Day',
  'TRIALBILLINGFREQUENCY' => '7',
  'TRIALTOTALBILLINGCYCLES' => '1',
  'TRIALCURRENCYCODE' => 'USD',
  'TRIALAMT' => '0.00',
  'TRIALSHIPPINGAMT' => '0.00',
  'TRIALTAXAMT' => '0.00',
  'REGULARBILLINGPERIOD' => 'Month',
  'REGULARBILLINGFREQUENCY' => '1',
  'REGULARTOTALBILLINGCYCLES' => '0',
  'REGULARCURRENCYCODE' => 'USD',
  'REGULARAMT' => '1.00',
  'REGULARSHIPPINGAMT' => '0.00',
  'REGULARTAXAMT' => '0.00',
  'ACCT' => '6849',
  'CREDITCARDTYPE' => 'Visa',
  'EXPDATE' => '112015',
  'EMAIL' => 'test-tz-50@tzeldin.com',
  'FIRSTNAME' => 'Testfirst',
  'LASTNAME' => 'Testlast',
  'STREET' => '123 Main st',
  'CITY' => 'Sometown',
  'STATE' => 'CA',
  'ZIP' => '19034',
  'COUNTRYCODE' => 'US',
  'COUNTRY' => 'United States',
  'ADDRESSOWNER' => 'PayPal',
  'ADDRESSSTATUS' => 'Unconfirmed',
  'PAYERSTATUS' => 'unverified',
)

www.idealfinancialinformation.com/wp-ideal/account/cancel/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
-------- Input vars: ( Sun May 29, 2011 1:24:46 pm EDT ) --------
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'METHOD' => 'GetRecurringPaymentsProfileDetails',
  'VERSION' => '63.0',
  'USER' => 'bizpro_1290149100_biz_api1.tzeldin.com',
  'PWD' => '1290149145',
  'SIGNATURE' => 'At1tAa8x6Ck.4qoVcoGavoTWtEUDA9tmO2pqjXw.pbYvrXcBSahXxLYe',
)
-------- Output string/vars: ( Sun May 29, 2011 1:24:47 pm EDT ) --------
PROFILEID=I%2dPYMNNNE2HECE&STATUS=Active&AUTOBILLOUTAMT=AddToNextBilling&DESC=Individual%20membership%3a%20%241%20USD%20%2f%20Month%20%28plus%20no%2drisk%207%2dday%20trial%29&MAXFAILEDPAYMENTS=2&SUBSCRIBERNAME=Testfirst%20Testlast&PROFILESTARTDATE=2011%2d05%2d30T07%3a00%3a00Z&PROFILEREFERENCE=1306732660%3a7%20D%3a1%20M%7ewww%2eidealfinancialinformation%2ecom%7e1&NEXTBILLINGDATE=2011%2d05%2d30T10%3a00%3a00Z&NUMCYCLESCOMPLETED=0&NUMCYCLESREMAINING=1&OUTSTANDINGBALANCE=0%2e00&FAILEDPAYMENTCOUNT=0&TRIALAMTPAID=0%2e00&REGULARAMTPAID=0%2e00&AGGREGATEAMT=0%2e00&AGGREGATEOPTIONALAMT=0%2e00&FINALPAYMENTDUEDATE=1970%2d01%2d01T00%3a00%3a00Z&TIMESTAMP=2011%2d05%2d29T17%3a24%3a47Z&CORRELATIONID=9d58c909d2964&ACK=Success&VERSION=63%2e0&BUILD=1863577&BILLINGPERIOD=Day&BILLINGFREQUENCY=7&TOTALBILLINGCYCLES=1&CURRENCYCODE=USD&AMT=0%2e00&SHIPPINGAMT=0%2e00&TAXAMT=0%2e00&TRIALBILLINGPERIOD=Day&TRIALBILLINGFREQUENCY=7&TRIALTOTALBILLINGCYCLES=1&TRIALCURRENCYCODE=USD&TRIALAMT=0%2e00&TRIALSHIPPINGAMT=0%2e00&TRIALTAXAMT=0%2e00&REGULARBILLINGPERIOD=Month&REGULARBILLINGFREQUENCY=1&REGULARTOTALBILLINGCYCLES=0&REGULARCURRENCYCODE=USD&REGULARAMT=1%2e00&REGULARSHIPPINGAMT=0%2e00&REGULARTAXAMT=0%2e00&ACCT=6849&CREDITCARDTYPE=Visa&EXPDATE=112015&EMAIL=test%2dtz%2d50%40tzeldin%2ecom&FIRSTNAME=Testfirst&LASTNAME=Testlast&STREET=123%20Main%20st&CITY=Sometown&STATE=CA&ZIP=19034&COUNTRYCODE=US&COUNTRY=United%20States&ADDRESSOWNER=PayPal&ADDRESSSTATUS=Unconfirmed&PAYERSTATUS=unverified
array (
  'PROFILEID' => 'I-PYMNNNE2HECE',
  'STATUS' => 'Active',
  'AUTOBILLOUTAMT' => 'AddToNextBilling',
  'DESC' => 'Individual membership: $1 USD / Month (plus no-risk 7-day trial)',
  'MAXFAILEDPAYMENTS' => '2',
  'SUBSCRIBERNAME' => 'Testfirst Testlast',
  'PROFILESTARTDATE' => '2011-05-30T07:00:00Z',
  'PROFILEREFERENCE' => '1306732660:7 D:1 M~www.idealfinancialinformation.com~1',
  'NEXTBILLINGDATE' => '2011-05-30T10:00:00Z',
  'NUMCYCLESCOMPLETED' => '0',
  'NUMCYCLESREMAINING' => '1',
  'OUTSTANDINGBALANCE' => '0.00',
  'FAILEDPAYMENTCOUNT' => '0',
  'TRIALAMTPAID' => '0.00',
  'REGULARAMTPAID' => '0.00',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.00',
  'FINALPAYMENTDUEDATE' => '1970-01-01T00:00:00Z',
  'TIMESTAMP' => '2011-05-29T17:24:47Z',
  'CORRELATIONID' => '9d58c909d2964',
  'ACK' => 'Success',
  'VERSION' => '63.0',
  'BUILD' => '1863577',
  'BILLINGPERIOD' => 'Day',
  'BILLINGFREQUENCY' => '7',
  'TOTALBILLINGCYCLES' => '1',
  'CURRENCYCODE' => 'USD',
  'AMT' => '0.00',
  'SHIPPINGAMT' => '0.00',
  'TAXAMT' => '0.00',
  'TRIALBILLINGPERIOD' => 'Day',
  'TRIALBILLINGFREQUENCY' => '7',
  'TRIALTOTALBILLINGCYCLES' => '1',
  'TRIALCURRENCYCODE' => 'USD',
  'TRIALAMT' => '0.00',
  'TRIALSHIPPINGAMT' => '0.00',
  'TRIALTAXAMT' => '0.00',
  'REGULARBILLINGPERIOD' => 'Month',
  'REGULARBILLINGFREQUENCY' => '1',
  'REGULARTOTALBILLINGCYCLES' => '0',
  'REGULARCURRENCYCODE' => 'USD',
  'REGULARAMT' => '1.00',
  'REGULARSHIPPINGAMT' => '0.00',
  'REGULARTAXAMT' => '0.00',
  'ACCT' => '6849',
  'CREDITCARDTYPE' => 'Visa',
  'EXPDATE' => '112015',
  'EMAIL' => 'test-tz-50@tzeldin.com',
  'FIRSTNAME' => 'Testfirst',
  'LASTNAME' => 'Testlast',
  'STREET' => '123 Main st',
  'CITY' => 'Sometown',
  'STATE' => 'CA',
  'ZIP' => '19034',
  'COUNTRYCODE' => 'US',
  'COUNTRY' => 'United States',
  'ADDRESSOWNER' => 'PayPal',
  'ADDRESSSTATUS' => 'Unconfirmed',
  'PAYERSTATUS' => 'unverified',
)
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: Billing Update Form not updating profile in paypal

Postby Cristián Lávaque » May 29th, 2011, 12:46 pm

Thanks Tod. I'll email Jason about it, because he'll be able to spot the problem here much better than me.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Billing Update Form not updating profile in paypal

Postby toddz88 » May 29th, 2011, 1:23 pm

I have a copy of the PP_WPP_IntegrationGuide.pdf (december 2010), and on page 14, I see the "GetRecurringPaymentsProfileDetails" method.. which seems to be the method used by s2m in all 5 entries of my paypal-api.log.

I also see (there on page14 of the pdf) a "UpdateRecurringPaymentsProfile" method that does not seem to be happening in my log.

I searched for "UpdateRecurringPaymentsProfile" in the s2member plugin files, and found it once, in s2member-pro/includes/classes/gateways/paypal/paypal-update-in.inc.php, line 77... in case that sheds any light on the problem.
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: Billing Update Form not updating profile in paypal

Postby toddz88 » May 30th, 2011, 3:20 pm

Hi Cristián (and hopefully Jason),

In my original tests of the Update Billing Form, the member filled out the entire form (since all fields are required by s2m), but CHANGED only the EXPIRATION DATE. The credit card NUMBER (and type and address) were UNCHANGED, using the same values that were already "on file" in his pp billing profile, because 1) paypal-sandbox needs to recognize it as a "valid" card number for the update to be successful, and 2) it's a legit situation a member might have.

As I said above, the result of this test is that s2member shows a Success message - "Thank you. Your billing information has been updated" - at the top of the page… HOWEVER Paypal does NOT get the updated information (the expiration date).

Looking deeper at the file "s2member-pro/includes/classes/gateways/paypal/paypal-update-in.inc.php", I see:
- (line 118): Else, they're submitting the same card number that is already on file
- (line 120): Catch this because new billing info MUST be different in order for PayPal® to process successfully
which suggests that the member's form submission is ONLY actually sent to Paypal if the credit card NUMBER is changed!

So in my next test, the member changed the card NUMBER too, in addition to the Expiration Date. And this test WORKED -- Paypal got the updated card info successfully. And s2member's Success message is slightly different than in the failed tests - "Confirmed. Your billing information has been updated."

Two problems here, as I see it:
1) s2member does not allow a member to change his card's Expiration Date, without also changing the Card Number (which is a legit need).
2) s2member INCORRECTLY shows a Success message, though the process actually failed.

When using the UpdateRecurringPaymentsProfile api, does pp actually require the incoming Card Number to be different? I can't imagine that's the case, and I don't see any reference to it in the PP WPP documentation. People commonly need to change the Expiration Date but not the Number.

But if the Card Number posted by UpdateRecurringPaymentsProfile *must* be different, can we just NOT submit a number in the post… can we simply NOT require the field input from the member, if he only wants to change the Expiration Date?
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: Billing Update Form not updating profile in paypal

Postby Jason Caldwell » May 31st, 2011, 5:08 am

Investigating now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Billing Update Form not updating profile in paypal

Postby Jason Caldwell » May 31st, 2011, 5:33 am

Thanks for reporting this important issue.
Yes, was a bug/PayPal limitation, but only in the previous version of PayPal® API. I just confirmed that the development version of s2Member Pro ( using the newest version of the PayPal API ), is not subjected to this limitation ( i.e. "must have a *new* card" ), and so I'm having this and the error reporting corrected for the next official release ( this week hopefully ).

Starting with s2Member Pro v110531+, this will no longer be an issue.

* Note, regarding mutliple log entries with "GetRecurringPaymentsProfileDetails".
That's perfectly normal. s2Member pulls that information whenever a Billing Update form is displayed, and when it's processed. Pulling those details on Form display, allows s2Member to provide errors and information messages to a Member under certain circumstances, in order to save them the trouble of filling out the entire form only to be denied for some reason ( e.g. their existing billing profile is no longer active, or was cancelled, etc ).
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Billing Update Form not updating profile in paypal

Postby toddz88 » June 14th, 2011, 3:30 pm

Hi Jason,
I just updated my s2m+Pro to v110606, tested this issue, and I see that it has indeed been fixed.

THANK YOU !
-Todd
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: Billing Update Form not updating profile in paypal

Postby Jason Caldwell » June 15th, 2011, 12:08 am

Excellent. Thank you very much for reporting back. You are very welcome.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron