문제

I was looking the masspay php sdk provided by paypal.com(merchant-sdk-php-master from github) in my sandbox.But it gaves me an error when i tried to pay to one of my sandbox test account. here is the response from paypal server. can anyone help me to fix this issue

$massPayRequest = new MassPayRequestType(); on line 11

Errors

Fatal error: Class 'MassPayRequestType' not found 0n c:..\x\y\z\MassPay.php on line 11

I didn't get what is the exact problem . I thought it was some problem in php lib sdk files.

So please help me.............

도움이 되었습니까?

해결책

You are using the merchant-sdk for PayPal but you are not including the core classes provided in the sdk-core. Anyone getting this simply go to https://github.com/paypal/sdk-core-php and add the core classes.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top