Skip to content

Conversation

@shimoju
Copy link
Contributor

@shimoju shimoju commented Mar 13, 2025

Active Merchantにはプロキシ設定がありますが、ユーザーとパスワードを渡すことができません。そのため、Active Merchantはユーザー名・パスワードによる認証が必要なプロキシを利用できませんでした。

そこで以下のPull Requestにて、ActiveMerchant::Connectionattr_accessor として:proxy_user/:proxy_passwordを渡せるようにしました。
activemerchant/active_merchant#5102

この:proxy_user/:proxy_passwordをactive_merchant-epsilonから利用できるようにします。以下のように設定できるようになります。

ActiveMerchant::Billing::EpsilonGateway.proxy_address = 'example.com'
ActiveMerchant::Billing::EpsilonGateway.proxy_port = 8080
ActiveMerchant::Billing::EpsilonGateway.proxy_user = 'user'
ActiveMerchant::Billing::EpsilonGateway.proxy_password = 'password'

activemerchant/active_merchant#5102 はマージはされましたがまだリリースされておらず、このPull Requestのマージタイミングについては相談したいです。


Active Merchant has proxy settings, but is unable to pass a user and password. Therefore, Active Merchant could not use authenticated proxies.

Therefore, the following Pull Request allows :proxy_user/:proxy_password to be passed as attr_accessor of ActiveMerchant::Connection.
activemerchant/active_merchant#5102

Make this :proxy_user/:proxy_password available to active_merchant-epsilon.

ActiveMerchant::Billing::EpsilonGateway.proxy_address = 'example.com'
ActiveMerchant::Billing::EpsilonGateway.proxy_port = 8080
ActiveMerchant::Billing::EpsilonGateway.proxy_user = 'user'
ActiveMerchant::Billing::EpsilonGateway.proxy_password = 'password'

activemerchant/active_merchant#5102 has been merged but not yet released, and we would like to discuss the merge timing of this Pull Request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant