i have created site , got working sandbox, have turned app live , changed tokens. getting following error message , can see http header referencing sandbox have changed in php sdk ini file , set mode live
error
got http response code 401 when accessing https://api.sandbox.paypal.com/v1/oauth2/token
ini file
mode=live ;service configuration [service] ;service.endpoint="https://api.sandbox.paypal.com" ; uncomment line integrating live endpoint service.endpoint="https://api.paypal.com"
how else can set correct https header?
thanks
you need remove sandbox
links. example, link https://api.sandbox.paypal.com
become https://api.paypal.com
Comments
Post a Comment