You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to generate $token->getPaymentURL() , i got this error "Not supported status code from the server."
Here is my code :
//set the paramagers of youcanpay :
YouCanPay::setIsSandboxMode(true);
$youCanPay = YouCanPay::instance()->useKeys(
"pri_e6bcdcfd-ac32-48f5-b3fd-537432a2","pub_2fca06a4-907f-4787-b4e9-6f10e0b7"
);
$token = $youCanPay->token->create(
47586,
2000,
"USD",
"123.123.123.123",
"https://gymanager.club/",
"https://gymanager.club/",
);
return $token->getPaymentURL(
// lang: Support 3 languages: AR, EN and FR.
'EN'
);
The text was updated successfully, but these errors were encountered:
When i try to generate $token->getPaymentURL() , i got this error "Not supported status code from the server."
Here is my code :
//set the paramagers of youcanpay :
YouCanPay::setIsSandboxMode(true);
$youCanPay = YouCanPay::instance()->useKeys(
"pri_e6bcdcfd-ac32-48f5-b3fd-537432a2","pub_2fca06a4-907f-4787-b4e9-6f10e0b7"
);
$token = $youCanPay->token->create(
47586,
2000,
"USD",
"123.123.123.123",
"https://gymanager.club/",
"https://gymanager.club/",
);
return $token->getPaymentURL(
// lang: Support 3 languages: AR, EN and FR.
'EN'
);
The text was updated successfully, but these errors were encountered: