Skip to content
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

Items and vat total error #244

Open
officialmmt opened this issue Nov 22, 2020 · 0 comments
Open

Items and vat total error #244

officialmmt opened this issue Nov 22, 2020 · 0 comments

Comments

@officialmmt
Copy link

Hi,
I try to figure out items and vat mismatch error

$response = $this->gateway->purchase([
                'amount' => session()->get('ordertotal'),
                'taxAmount' => session()->get('taxedtable'),
                'currency' => env('PAYPAL_CURRENCY'),
                'returnUrl' => route('paypal.success'),
                'cancelUrl' => route('paypal.error'),
            ])->setItems($items)->send();

I trying like that but not works. I can add vat as an item but this is not a good solution. How can I handle it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant