Invalid parameter : currency in PayPal MPL SDK for

2019-08-20 07:38发布

问题:

I am using PayPal MPL SDK for iOS app. I am initiating the transaction for China using CNY currency. When I clcik on Pay with PayPal button , I am getting below error

Invalid parameter : currency

So I tried with RMB currency , still I got the same error. Can anybody tell me whats wrong in the currency for China ?

Thanks.

回答1:

RMB is not a valid currency value for use in the Mobile Payment Library.

The Mobile Payment Library Guide for iOS has a list of currencies that are supported: https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_mpl_developer_guide_and_reference_iphone.pdf