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

Orders are stuck on "pending" status #23

Open
JanMikes opened this issue Jun 1, 2016 · 6 comments
Open

Orders are stuck on "pending" status #23

JanMikes opened this issue Jun 1, 2016 · 6 comments

Comments

@JanMikes
Copy link

JanMikes commented Jun 1, 2016

Hello, everything seem to be fine, but payments are stuck as "pending" and there are nothing to do with them.

Have you guys have same issue and possibly how have u solved this? I am not sure if this is related to the library or something is wrong with the paypal account.

@fmasa
Copy link
Contributor

fmasa commented Jun 1, 2016

Are you calling confirmExpressCheckout method as suggested in your comment on different issue?

@JanMikes
Copy link
Author

JanMikes commented Jun 2, 2016

Yep. As well I can see the order in both customer's and seller's accounts, but it is has "Pending" status and money are not transfered.

It seem to me that is is PayPal account settings related, not the library bug, so if you had any tips i would be grateful.

@JanMikes
Copy link
Author

JanMikes commented Jun 2, 2016

I added logging before calling confirmExpressCheckout():

public function confirmOrder($control, $data)
{
    \Tracy\Debugger::log($data, "confirm-order");
    $control->confirmExpressCheckout();
}

I have noticed following data in all results, it might be the issue?

billingagreementacceptedstatus => "0"
checkoutStatus => "PaymentActionNotInitiated" (25)

@michalhlavka
Copy link

michalhlavka commented Jun 28, 2016

@lexinek its because you are doing purchase in different currency than its set in your paypal merchant account

@JanMikes
Copy link
Author

JanMikes commented Jun 28, 2016

@michallhlavka that is actually not true

Anyways since this was big problem for me (receiving no money on merchant's account and having all payments as pending) and i was not able to find the reason causing it, i changed implementation to use metisfw/paypal library and everything is working for me now.

@michalhlavka
Copy link

@lexinek ok, thanks for reaction, I will take a look at metisfw

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

3 participants