-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Express Checkout #20
Comments
Can you post how your using the code? |
I use it as followed: $paypalConfig = new \SpeckPaypal\Element\Config($config);
//set up http client
$client = new \Zend\Http\Client;
$client->setMethod('POST');
$client->setAdapter(new \Zend\Http\Client\Adapter\Curl);
$paypalRequest = new Request;
$paypalRequest->setClient($client);
$paypalRequest->setConfig($config);
$paymentDetails = new PaymentDetails(array(
'amt' => $amount
));
$express = new SetExpressCheckout(array('paymentDetails' => $paymentDetails));
$express->setReturnUrl('http://www.someurl.com/return');
$express->setCancelUrl('http://www.someurl.com/cancel');
var_dump($paypalRequest->send($express)); The dump only for testing and integration issues. |
@darkmatus I dont see any issues with that. Can you give me the output (strip out your credentials) of the raw request?
I am unable to reproduce the issue your describing. I have updated the integration test for SetExpressCheckout (it was previously failing). You might try it to see if your getting similar results with that? |
I cant show it to you at this time. I removed the module and has my own REST-Client for PayPal written ;) |
unable to reproduce. no further response from @darkmatus closing issue. |
Hi,
I try to create an ExpressCheckout like the Example from the Readme.
But all I get is an Error with the following content (dump of response):
Seems there is an error with the current version or did I something wrong?
The text was updated successfully, but these errors were encountered: