Subscription pending: why?

  • artax
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago - 3 years 5 months ago #150408 by artax
Subscription pending: why? was created by artax
Hi there,
I'm testing with Paypal Sandbox; the transaction gets executed and the user redirected to the subscription complete page/ menu item.

However, the subscription is pending until I publish it. I'd need the subscription to get automatically activated as soon as the transaction is complete.

I saw that on paypal sandbox account the payment is labelled as "pending": could it be the reason why the subscription is pending as well?

Lastly: in which cases a payment should be pending, requiring the admin to manually activate it?

Thanks.
Last edit: 3 years 5 months ago by artax.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #150412 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Subscription pending: why?
Hello

As you can see, for some reasons, the payment at PayPal Sandbox is still pending, mean payment is not received yet, and that's the reason the subscription is Pendinging

If the payment has Complete status (mean payment received), everything will work well. On a live mode, it should be complete status, and no need for admin to manually activate the subscription

Tuan
The following user(s) said Thank You: artax

Please Log in or Create an account to join the conversation.

  • artax
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 months ago - 3 years 4 months ago #151308 by artax
Replied by artax on topic Subscription pending: why?
Hi there,
I've done a test with Paypal Live and the money gets credited, but the subscription is still inactive as I said above with Paypal Sandbox.
If the payment is complete and successful, why the subscription is still pending?

EDIT: I've just read about Paypal IPN on the documentation and my site is still on localhost. I will check again once the site will be online.

Thanks.
Last edit: 3 years 4 months ago by artax.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #151313 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Subscription pending: why?
Yes. When your site is on localhost, PayPal could not notify you about the payment, so it won't work. To use PayPal, you need to setup your site on a public accessible server.

Regards,

Tuan

Please Log in or Create an account to join the conversation.