PayPal button with dropdown for multiple price options

PayPal button with dropdown for multiple price options

by Alan Zaitchik -
Number of replies: 2
I would like to use the PayPal plugin to add a button for course enrolment. In PayPal I designed a button that comes with a dropdown of different prices. We trust the user to pick the price appropriate to the user's organization.
There seems to be no way to use this button in the current (3.1) Moodle - PayPal integration, unless I am missing something. Am I?
Question: should I hack the enrol/index.php file ?
(I would REALLY hate to do that!) Is there a way to show the dropdown-PayPal-button ?
(EDIT) I was able to add multiple PayPal buttons, each with its own fixed price, and it works, *BUT* it's godawful ugly since I have 5 different price points! How can I get the integration to use the drop down

created on the PayPal site. I have the HTML that was generated.

All help much appreciated!!
Alan

Average of ratings: -
In reply to Alan Zaitchik

Re: PayPal button with dropdown for multiple price options

by Alan Zaitchik -

In the end I just hacked the enrol/paypal/enrol.html file.

Pain in the neck (and elsewhere in my anatomy) considering future maintenance through upgrades of Moodle....

A

In reply to Alan Zaitchik

Re: PayPal button with dropdown for multiple price options

by Mark Whitington -

Hi Alan,

We have a similar need to use different payments.

Would you be willing to share your hack?

Cheers

Mark