Browse files

Fixed typo when accepting payment amount from paypal

  • Loading branch information...
1 parent ecc1076 commit a86b324790d1a4c610a9f2b7ac0d15ddb00380d1 moodler committed Nov 11, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/paypal/ipn.php
View
2 enrol/paypal/ipn.php
@@ -34,7 +34,7 @@
$custom = explode('-', $data->custom);
$data->userid = $custom[0];
$data->courseid = $custom[1];
- $data->payment_amount = $data->mc_gross;
+ $data->payment_gross = $data->mc_gross;
$data->payment_currency = $data->mc_currency;

0 comments on commit a86b324

Please sign in to comment.