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
Laravel 8 is not supported? #906
Comments
@sergiocasquejo Laraval 8 should be supported (Payum/PayumLaravelPackage#53). Are there any specific errors you are getting or something not working as expected? |
This is what i get when I install the package. Your requirements could not be resolved to an installable set of packages. Problem 1 |
I think the issue is missing a composer require payum/payum-laravel-package guzzlehttp/guzzle:^6.0 php-http/guzzle6-adapter Note: Guzzle 7 support is currently in master, and not yet in a tagged release. So you need to use Guzzle 6 for now. Once Payum 1.7 is released, then you should be able to use Guzzle 7. |
All good. but can you help me with express checkout capture? it redirect to 404 Page not found this is the url public function prepareExpressCheckout()
{
$storage = $this->getPayum()->getStorage(Payment::class);
$payment = $storage->create();
$payment->setNumber(uniqid());
$payment->setCurrencyCode('USD');
$payment->setTotalAmount(123); // 1.23 USD
$payment->setDescription('A description');
$payment->setClientId(2);
$payment->setClientEmail('[email protected]');
$payment->setDetails(array(
// put here any fields in a gateway format.
// for example if you use Paypal ExpressCheckout you can define a description of the first item:
// 'L_PAYMENTREQUEST_0_DESC0' => 'A desc',
'PAYMENTREQUEST_0_CURRENCYCODE' => 'USD',
'PAYMENTREQUEST_0_AMT' => 1.23
));
$storage->update($payment);
$captureToken = $this->getPayum()->getTokenFactory()->createCaptureToken('paypal_ec', $payment, 'payment_done_order');
return \Redirect::to($captureToken->getTargetUrl());
} |
I tried installing in laravel 8 but I think it's not supported yet?
The text was updated successfully, but these errors were encountered: