PayPal Enrollment

PayPal Enrollment

by Tech1 Web -
Number of replies: 18

Hi,


I have enabled PayPal Enrollment for a course. Once the students pay with paypal, they are seeing 

"Thank you for your payment! Unfortunately your payment has not yet been fully processed, and you are not yet registered to enter the course "COURSE NAME". Please try continuing to the course in a few seconds, but if you continue to have trouble then please alert the Teacher or the site administrator"


I have validated setting to

PayPal enrolment - MoodleDocs

  1. Set the Encoding to UFT-8. In Paypal, go to Profile > Language Encoding (under the Selling Preferences column) and set your website's language (like select "Western European Languages (including English)" as it is the only English version). Then click on the "More Options" button and set the Encoding to "UTF-8", select "Yes" to use the same encoding for data sent from PayPal to you, and save.
  2. Optionally setup IPN in PayPal to interact with Moodle. Log into PayPal, go to "Profile > Instant Payment Notifications (IPN)”, click "Turn On IPN", click the "Edit settings" and enter a URL that references your IPN file in your Moodle installation (for example: http://<domain name>/moodle/enrol/paypal/ipn.php).


Is there a bug in the Moodle v 3.1? 

 
Average of ratings: -
In reply to Tech1 Web

Re: PayPal Enrollment

by Philippe Siwinski -

Hi,

the same issue occurs on a HTTPS 3.4.2+ Moodle instance.

Did you solve the problem ?

Thanks smile

In reply to Philippe Siwinski

Re: PayPal Enrollment

by Sean Thomas -

Hi there, I have searched everywhere and done what is requested however we still get the error on sandbox testing: 

Thank you for your payment! Unfortunately your payment has not yet been fully processed, and you are not yet registered to enter the course "COURSE NAME". Please try continuing to the course in a few seconds, but if you continue to have trouble then please alert the Teacher or the site administrator


Is there a fix for this yet? We are running moodle 3.5.1...


Thanks

In reply to Sean Thomas

Re: PayPal Enrollment

by Renaat Debleu -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

As far as I know, there are 4 possible reasons why sandbox PayPal testing is not working:

  1. The site is running on http => move to https
  2. The currency used is not USD, PayPal sandbox only allows testing of US dollars
  3. PayPal cannot connect to you site due to firewall or server settings => make your site public
  4. You did not follow the PayPal sandbox account setup for merchant and buyer, but used a normal PayPal account to for buyer and/or merchant. 
In reply to Renaat Debleu

Re: PayPal Enrollment

by Eswar sfc -

HI Reenat,i have created courses with paypal integration in my localhost,but can you please help me how to test the course by dummy payment(for student enrollment purpose) ,by using paypal sandbox account for payment purpose.and please check the attachments.

Attachment Screenshot (27).png
Attachment Screenshot (28).png
In reply to Eswar sfc

Re: PayPal Enrollment

by Renaat Debleu -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

item 3: make your localhost publicly accessible

Average of ratings: Useful (1)
In reply to Renaat Debleu

Re: PayPal Enrollment

by Eswar sfc -

Hi Reenat,

Sorry to disturb you again, i need small help.

for papal payment integration on moodle i had added one line in config.php file

$CFG->usepaypalsandbox = true;

and at the time of payment for course, i was redirected to https://www.sandbox.paypal.com,it was asking  all credit card details,  after entering all details,it displaying 


  • Your card was declined. Try a different card.


my doubt,is in sandbox.paypal.com(we will use sandbox for   testing purpose) as per i heard,it will not check all card details. whether you are entering exact card details or not.it only shows payment was done , and course will be enrolled to student,but in my case it displaying some message(Your card was declined. Try a different card).


Thanks,

Eswar

In reply to Eswar sfc

Re: PayPal Enrollment

by Renaat Debleu -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
This has nothing to do with Moodle: the learning platform does not check if the money arrives from a credit card, child labour or an obscure bank account in the Cayman Islands.  It only gets a confirmation if the transfer was made or not. 


Try the PayPal Sandbox help desk.

In reply to Renaat Debleu

Re: PayPal Enrollment

by Eswar sfc -

Hi Reenat Debleu,

If you Don't mind,i will ask you one doubt, by using sandbox paypal account,students are purchasing the courses,even the amount is getting credited in my sandbox business account,after paying the course, in mysite it showing error


Error:Thank you for your payment! Unfortunately your payment has not yet been fully processed moodle


it would be great help,if you provide me some suggestions.


Regards,

Eswar.

 


Attachment Screenshot (34).png
In reply to Eswar sfc

Re: PayPal Enrollment

by Eswar sfc -

Hi,

My course fee is 2$,but iam receiving 1.64$ in my business account,so i think thats the reason it showing thank you for the payment,but your payment is not fully processed.! and i dont understand why im using not receiving my complete amount in sandbox business account ?


Regards,

Eswar


In reply to Eswar sfc

Re: PayPal Enrollment

by Narit B -
i also got this problem "Things don't appear to be working at the moment. Please try again later"

How can i solve this or any one have the solution?

Thank you
In reply to Renaat Debleu

Re: Re: PayPal Enrollment

by sarendar vennapureddy -
HI,

I have installed payumoney enrollment plugin.

While students are enrolling to course suing payment gateway below message is displaying after completion of successful payment.

"Thank you for your payment! Unfortunately your payment has not yet been fully processed, and you are not yet registered to enter the course "Payment Test". Please try continuing to the course in a few seconds, but if you continue to have trouble then please alert the Teacher or the site administrator"

Students are enrolled to course but partially, and student enrollment status is 'Not Current',

But payment is successful and money added to my valet also.

And i have checked with enrollment dates kept past dates, Tried with many enrollment dates as past and future.

Few days back this issue not getting any where, But now getting, do i need to change any settings.

few days back i changed my site from http to https, is this cause nay problem?

Can any one please provide solution.
In reply to sarendar vennapureddy

Re: Re: Re: PayPal Enrollment

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
Yes, you need to reset up the Paypal side with https in your site name.
In reply to Emma Richardson

Re: Re: Re: PayPal Enrollment

by Katrina Belcher -

When you say "setup the PayPal side..." what do you mean? Set it up how? Do you mean the IPN URL or? Thanks!

In reply to Emma Richardson

Re: Re: Re: PayPal Enrollment

by Katrina Belcher -

Hello!  When you say "setup the PayPal side..." what do you mean? Set it up how? Do you mean the IPN URL or? Thanks!

In reply to Tech1 Web

Re: PayPal Enrollment

by Renaat Debleu -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
I have now the same behavior in my Paypal Sandbox environment. The webserver logs explain what is happening:

The student is first referred to the enrolment page, and 5 seconds later arrives a POST by PayPal granting access. Hence the notice "Unfortunately your payment has not yet been fully processed". 18 seconds after the first query the student can access the course.

When the POST by PayPal happens before the ajax POST, the enrolment happens normally, otherwise the user see the notice. Could this problem be ajax related?
In reply to Renaat Debleu

Re: PayPal Enrollment

by Justin Templemore-Finayson -
Hi! I am encountering the same problem in the paypal sandbox.
Site is HTTPS and IPN URL is setup on paypal.
Site is public.
Payment for the course is 5USD

Users are not enrolled after paying. Instead they see:
Thank you for your payment! Unfortunately your payment has not yet been fully processed, and you are not yet registered to enter the course "A course with paypal enrolment". Please try continuing to the course in a few seconds, but if you continue to have trouble then please alert the Teacher or the site administrator

I see lots of people with the problem. Did anyone resolve it ? If so, how ??!

Cheers,