danielneis / moodle-availability_paypal

An Availability Condition for Moodle to require a PayPal payment to access activities and resources.
https://moodle.org/plugins/availability_paypal
GNU General Public License v3.0
11 stars 7 forks source link

Can't access resource after payment #36

Open berthelemy opened 3 years ago

berthelemy commented 3 years ago

Hi there,

Possibly relates to #20

We've setup a new Paypal app, with the return URL as specified: https://YOURMOODLESITEADDRESS/availability/condition/paypal/ipn.php

I was able to make a payment, which went through OK, and then Paypal dropped me back at the resource page.

However, it was still showing as not available unless a Paypal payment is made. I can't seem to get past that.

We do have Paypal enrolments setup, but not using a Paypal app. I'm wondering if this might be conflicting? This is setup here: Profile > Profile and settings > My selling tools > Getting paid and managing my risk > Instant payment notifications > Update (as per the instructions at https://docs.moodle.org/311/en/PayPal_enrolment#PayPal_side_setup)

Thanks,

Mark

danielneis commented 3 years ago

I'm not sure if it's conflicting as I've never used both on same Moodle install. If you find the solution, please post it here.

berthelemy commented 3 years ago

Hi Daniel, I've disabled the Paypal enrolment plugin, and am still finding the same issue. I can make the payment. Paypal returns me to Moodle, but the resource is still requesting that a payment is made.

The table mdl_availability_paypal_tnx is empty.

When we set up the Paypal app, it gave us a Client ID and a Secret key. But we're not using these with your plugin. Do Paypal apps work in a different way to the main Paypal?

stephanfcesa commented 1 year ago

Hi! We have the same issue - has anyone figured out this issue yet?