Open z3d0 opened 2 months ago
Hello.
Thanks for opening an issue and letting me know.
Could you provide some more recreation steps, please? Possibly a larger excerpt of code so I can have a look at the context of this?
Thanks :)
Ah! @z3d0 - I see what you mean from the README.md file here. I am in the process of rewriting the library, this approach is deprecated and there is a new much nicer approach which is documented here:
https://prometheuscomputing.co.uk/series/documentation/paypal-laravel-library/introduction
But yes, you are right the documentation here is incorrect. Thank you for letting me know :)
Thank you! :-)
Hi, I think there's an error in the example code, when capturing a payment you need to specify the orderID and not PayerID
So the correct line would be
$paypalOrder = $order->show(request()->token);
Thanks for the project btw!