Moodle add RMB payment & correct paypal error encoding

Moodle&paypal

l       Add RMB payment.

In  /moodle/enrol/paypal/enrol.php:

Add

           case 'CNY': $currency = '¥'; break;

at line 98.

Add  

'CNY' => 'Chinese RMB',

 at line 121

 

l       correct the post information from moodle to paypal

 

In  /moodle/enrol/paypal/enrol.html:

Add

<input type="hidden" name="charset" value="utf-8">

At line 36

 

 

 

你可能感兴趣的:(Moodle add RMB payment & correct paypal error encoding)