growstuff

https://github.com/growstuff/growstuff

Ruby

Open data project for small-scale food growers

ActiveMerchant::Billing::Integrations::Chronopay::Notification#status

Status of transaction. List of possible values:
<tt>onetime – one time payment has been made, no repayment required;</tt>::
<tt>initial – first payment has been made, repayment required in corresponding period;</tt>::
<tt>decline – charge request has been rejected;</tt>::
<tt>rebill – repayment has been made together with initial transaction;</ttt>::
<tt>cancel – repayments has been disabled;</tt>::
<tt>expire – customer’s access to restricted zone membership has been expired;</tt>::
<tt>refund – request to refund has been received;</tt>::
<tt>chargeback – request to chargeback has been received.</tt>::

This implementation of Chronopay does not support subscriptions.
The status codes used are matched to the status codes that Paypal
sends.  See Paypal::Notification#status for more details

Source | Google | Stack overflow

Edit

git clone [email protected]:growstuff/growstuff.git

cd growstuff

open vendor/gems/activemerchant-1.33.0/lib/active_merchant/billing/integrations/chronopay/notification.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveMerchant--Billing--Integrations--Chronopay--Notification-status-for-pr


# Commit to git

git add vendor/gems/activemerchant-1.33.0/lib/active_merchant/billing/integrations/chronopay/notification.rbgit commit -m "better docs for ActiveMerchant::Billing::Integrations::Chronopay::Notification#status"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ActiveMerchant--Billing--Integrations--Chronopay--Notification-status-for-pr

hub pull-request


# Celebrate!