ios - How to go live with Paypal -


i have solved paypal in sandbox.but not changing in live mode. have changed sandbox app id , client id live. getting environment-mock in response. can me how can solve it.

i have set enviroment-> self.environment=paypalenvironmentproduction;

mean -> {   client =     {      environment = mock;     "paypal" = "2.0.1";     platform = ios;     "product_name" = "paypal ios sdk"; }; response =     {     "create_time" = "2014-03-25t10:44:43z";     id = "pay-6rv70583sb702805ekeysz6y";     intent = sale;     state = approved; }; "response_type" = payment; } 

please tell me why environment not changing live mock.

change environment paypalenvironmentsandbox paypalenvironmentproduction , try again. need change clientid live. sandbox clientid , live clientid different.

[paypalpaymentviewcontroller setenvironment:paypalenvironmentsandbox]; // sandbox mode  [paypalpaymentviewcontroller setenvironment:paypalenvironmentproduction]; // live mode 

note: live mode, need real paypal account transaction

for sandbox clientid , live clientid, check below snap shot,


image 1
enter image description here

for more reference, please go through paypal ios sdk readme


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -