Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

How to change ClientId and merchant configuration at runtime #33

Closed
josemedaglia opened this issue Oct 26, 2014 · 1 comment
Closed
Labels

Comments

@josemedaglia
Copy link

Hi!

I'm developing an application that requires to pay to different merchants depending on the item, but:

  • ClientId information is sent to PayPalMobile.init.
  • Merchant information is sent to PayPalMobile.prepareToRender call.
  • PayPalMobile.init should be called on the deviceReady event according to your examples.

How can I change/set this later at runtime?

I've tested setting it by running initialization process every time instead of doing it just on DeviceReady and it seems to be working fine, but I don't know if this is correct of there is something missing in the plugin.

Thank you in advance.

@romk1n
Copy link
Contributor

romk1n commented Oct 27, 2014

@josemedaglia using different merchants is not officially supported by msdk. Please see here paypal/PayPal-iOS-SDK#140

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants