paypalcurrencypaypal-sandboxpaypal-adaptive-paymentsios6.0

Invalid parameter : currency in PayPal MPL SDK for iOS


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.


Solution

  • 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