php - Paypal Adaptive payment Pay key validation received from IOS -


in our app using ios mpl library make parallel payment. after pay key ios, when tried validate using php app, shows me following error:

 [error] => array         (             [0] => errordata object                 (                     [errorid] => 540031                     [domain] => platform                     [subdomain] => application                     [severity] => error                     [category] => application                     [message] => not have permission these payment details                     [exceptionid] =>                      [parameter] =>                  )          ) 

but if create parallel payment using php adaptive payment api, able validate paykey , correct receipt.


also found when try create parallel payment in php asks me app id, api username, api password , api signature. when use ios mpl libarary asks app id. in sandbox mode use same app id - app-80w284485p519543t, same all(universal). how app know identify has made call?

when create payment in sandbox mode using php application, , try validate transaction using different "api credentials", same error "you not have permission these payment details", receive when try ios pay key.

here reply paypal: ap txn made through mpl sdk library iphone app of sender. api caller sender.

the receivers in parallel payment different.

when 1 of receiver a/c made paymentdetails api call, api caller call. there few restrictions on info api caller can view in paymentdetails api. receiver a/c holder able view leg of transaction since not original api caller created payment key.

that's why after paymentdetails api, can see leg of transaction information.


also asked paypal, if there way in mpl library define api credentials of merchant can used while doing adaptive payment instead of sender's api. said no, mpl library not built that.


so finally, have used ipn call resolve problem. instead of updating db validating pay key ios device, did is: have told ios developers send ipn url in adaptive payment call. through ipn url update database.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -