× Please post all pre-sales questions of all products on this forum

PHP plugin membership

  • Chris Preece
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago #118419 by Chris Preece
PHP plugin membership was created by Chris Preece
Hi
If we use the php plugin is it possible to use the Joomla message system to confirm success or error from the php action
Thanks
Chris

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

More
1 month 1 day ago #118429 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PHP plugin membership
Hi Chris

I would say that you could not use it. The reason is because when you are using PayPal for example, the payment success script is run when payment is completed, PayPal notifies Membership Pro about the payment. It's a server to server notification, so even you use Joomla system message, users won't see it

If you use subscription stored script, then, it should be possible. But for subscription success script, I don't think it's possible if you use payment method like PayPal

Tuan

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

  • Chris Preece
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 day ago - 1 month 1 day ago #118440 by Chris Preece
Replied by Chris Preece on topic PHP plugin membership
Hi Tuan
thanks for the prompt reply. Just to confirm my intended PHP script run by the php plugin has nothing to do with payment but posts info to an external api and will return a success or failure response.
thanks
Chris
Last edit: 1 month 1 day ago by Chris Preece. Reason: Spelling

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

More
1 month 1 day ago #118441 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PHP plugin membership
Better you can try it yourself and see the result. I still think that it won't work because usually, you would run this kind of script on payment success event (triggered by Membership Pro)

But anyway, you can try to see how it goes

Tuan

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

Moderators: Tuan Pham NgocGiang Dinh TruongMr. Dam