-
Notifications
You must be signed in to change notification settings - Fork 111
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
Problem with Paypal Payment #143
Comments
This partial doesn't seem to be included correctly. Could you try to debug it? Did you overwrite some partials? Did you give the component an alias? Thank you! |
For what I see in your component when i dump method.payment_provider Hope this helps, let me know if you need more testing. |
Sorry, I didn't get the problem yesterday. The Paypal provider does not have any configuration values for the user to enter so there is no partial to display. If you want to add a custom message to display when the user select "Paypal" simply create the partial in your theme folder and it will be included. It's odd that your payments are marked as "pending". Do you see the payments in your backend under Orders -> Payments? |
It looks like the return redirect from PayPal is not detected as such. If you're being returned from PayPal this conditional should catch on and handle the rest: |
@jonnydevv Were you able to fix your checkout flow? If not I'm happy to help. |
Hello, Sorry for late response. Thank you very much! |
Thank you for the feedback. Is it possible that your localhost adds an additional redirect when the user returns from PayPal? Like https:// -> http:// or www -> non-www? In any case this problem should not occur even with an additional redirect. I'll take a closer look at it since the problem you're experiencing on localhost might happen to someone in production. |
Just in case it helps, when returned from PayPal, my url is kept the same. I always use vhost with local tld eg:. http://domain.local. In this case, when returned, I'm returned with http://domain.local, the correct domain. |
GREAT plugin, like it very much so far! I'm having a similar payment pending problem for Paypal and stripe on both local dev/remote. I've even tried configuring a SSL in case that was the issue. The payment is definitely going through to stripe/paypal.. as I'm getting receipt urls/etc in the data returned. The error log receives "Could not mark paid order as paid" and "Could not log successful payment" in both of the errors the "response" part is empty.. so not sure if that is a clue! Let me know if I can provide anymore info to help solve this. "response":"[object] (Omnipay\Stripe\Message\Response: {})" |
Thank you very much @Apoculos and @jonnydevv. Could either one of you update to |
Here is a copy paste of the errors now. Definitely some good clues! For me the problem is fixed by upping the varchar character count to 500 on the "payment_method' column of "offline_mall_payments_log" Thanks for the quick response tobias-kuendig. [2019-02-28 14:19:48] development.ERROR: OFFLINE.Mall: Could not log successful payment. [2019-02-28 14:19:48] development.CRITICAL: OFFLINE.Mall: Could not mark paid order as paid. ","exception":"[object] (ErrorException(code: 0): Undefined variable: payment at /www/catselman/plugins/offline/mall/classes/payments/PaymentResult.php:97) |
Thank you very much, @Apoculos. I've just released a new version with a fix for this problem. Please respond to this issue if the problem is not solved for you in v1.1.9. |
Hello,
I'm not sure if I'm missing any step on configuration for PayPal payment.
This is what I get when after begin checkout:
No input to enter any email or anything.
I've already setup PayPal Rest Api to use test mode with Paypal App Cliente ID and Paypal Secret.
The text was updated successfully, but these errors were encountered: