Your code should be the same regardless if you are in sandbox or live mode. All you would have to do is swap out the client ID from the sandbox and replace it with the client Id from live mode. You get your client Id's from developer.paypal.com
... View more