Saturday, 15 June 2013

Subscription Profiles not supported by Recurring Payment APIs while updating plan price -


I am using PayPal API for recurring billing. I want to update the plan price using PayPal API, I am using

  $ curl = curl_init (); Curl_setopt ($ curl, CURLOPT_RETURNTRANSFER, true); Curl_setopt ($ curl, CURLOPT_SSL_VERIFYPEER, incorrect); Curl_setopt ($ curl, CURLOPT_POST, true); Curl_setopt ($ curl, CURLOPT_URL, 'https://api-3t.sandbox.paypal.com/nvp'); = 'Gtc: mediawidth =' gtc:, 'VERSION' = & gt; '108', 'PROFILEID' => 'I-FYYMDB55ADSH', 'Note' = & gt; 'Uma Nota Oceanic, Explanation O Inspiration The Moodana', 'AMT' => 120, CURRENCYCODE '=> BRL '))); $ Response = curl_xax ($ curl); Curl_close ($ curl); $ Nvp = Array (); If (preg_match_all ('/ (? & Lt; name & gt; [^ \ =] +) \ = (? & Lt; value & gt; [^ & amp;; +] & amp;? /', $ Reaction , $ Matches)) {foreach $ matches [$ name] $ offset = offset = & gt; $} match with {$ nvp [$ name] = urldecode ($ ['value'] [$ offset] Account); }} Print_r ($ nvp);  

But I'm getting this error Membership profiles are not supported by the recurring payment API This is my error

   Pre & gt; Array ([PROFILEID] = & gt; I-FYYMDB55ADSH [TIMESTAMP] => 2015-03-16T15: 48: 07Z [CORRELATIONID] => 33216e1739dde [ACK] => Failure [version] => ; 76.0 [BUILD] = & gt; 15735246 [L_ERRORCODE0] = & gt; 11592 [L_SHORTMESSAGE0] => Membership Profile Not Supported [L_LONGMESSAGE0] => Membership Profile Payment Not Supported by API Recurring [L_SEVERITYCODE0] = & Gt; Error)  

Please tell me what I have done.

as answered

by PayPal_Frank Admin Answers : 04-02-2012 11:08 AM

...
Basic Membership Button Profile IDs are not Supported by GetRecurringPaymentsProfileDetails API This API Express was created through Checkout through the CreateRecurringPaymentsProfile API Our API based checkout solution which will work for membership or recurring payment profile. Website Payment Pro is not required to use Express Checkout. I may have this disappointment and our advice is that merchants collect basic membership information through IPN to store information in their own databases or to see information about their PayPal account. This has also been presented as a feature request by our Merchant Technical Services team.
...

...


No comments:

Post a Comment