Added optFlag for paypal sandbox
Updated resources to handle paypal sandbox flag.