Paypal Adaptive Payment

ini_set("track_errors", true); //set PayPal Endpoint to sandbox $sandbox=""; $API_AppID = XXXXXXXXXXXXXXXXXXX;//your adaptive payment app Id //value for check sandbox enable or disable $sandboxstatus=1; if($sandboxstatus==1){ $sandbox="sandbox."; $API_AppID="APP-80W284485P519543T"; } $url = trim("https://svcs.".$sandbox."paypal.com/AdaptivePayments/Pay");…