killbill / killbill-payu-latam-plugin

Plugin to use PayU Latam as a gateway
http://killbill.io
Apache License 2.0
2 stars 3 forks source link

Upgrade ActiveMerchant #3

Open leobispo opened 7 years ago

leobispo commented 7 years ago

Hi,

I was checking this plugin and I just saw that you are using a fork version of active merchant. Is that possible for you to update the aktivemerchant gem to the newest activemerchant version? They fixed the sandbox url in the newest version

Tnx

pierre commented 7 years ago

You should be able to simply override the url in the yaml configuration file:

:payu_latam:
  :test: false
  :live_url: XXX
  :test_url: YYY

That being said, it looks like the upstream gem now supports PayU Latam natively, so we may not even need the fork anymore.

Could you change the dependency to the official gem (https://github.com/killbill/killbill-payu-latam-plugin/blob/master/killbill-payu-latam.gemspec#L27) and give it a try?

In case it helps, here are some plugin development notes: http://docs.killbill.io/latest/plugin_development.html#_ruby_plugins.