当我尝试使用PayPal结帐时,我仍然收到旧设计。如何切换到新的?
$sdkConfig = array(
'mode' => 'sandbox',
);
$cred = new OAuthTokenCredential("CLIENT ID", "SECRET", $sdkConfig);
$apiContext = new ApiContext($cred, 'Request' . time());
$apiContext->setConfig($sdkConfig);
答案 0 :(得分:0)
新的PayPal Design尚未在沙盒模式下使用。
$sdkConfig = array(
'mode' => 'live',
);
$cred = new OAuthTokenCredential("CLIENT ID", "SECRET", $sdkConfig);
$apiContext = new ApiContext($cred, 'Request' . time());
$apiContext->setConfig($sdkConfig);