Tuesday, October 14, 2008

Paypal Ruby Gem and custom/invoice methods errors

Paypal Gem and custom/invoice methods missing+errors

Errors in ruby/rails paypal gem

I noticed a little error in ruby paypal gem, there was no 'custom' method. Also, erroneously, the 'invoice' method returned the data from the custom field.

I corrected this and pushed it to http://github.com/rha7dotcom/paypal/tree/master.

Already made a pull request from openhood, but in the mean time, it is available there.

Added also the pending_reason, reason_code, memo, payment_type, exchange_rate methods to notification.

Hope this is useful for you out there.

Gabriel Medina

UPDATE

Changes have been integrated. You can get this changes now directly from:

http://github.com/openhood/paypal/tree/master.