solidus

https://github.com/solidusio/solidus

Ruby

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.

Spree::Payment::Processing#capture!

Takes the amount in cents to capture.
Can be used to capture partial amounts of a payment, and will create
a new pending payment record for the remaining amount to capture later.

Source | Google | Stack overflow

Edit

git clone [email protected]:solidusio/solidus.git

cd solidus

open core/app/models/spree/payment/processing.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--Payment--Processing-capture--for-pr


# Commit to git

git add core/app/models/spree/payment/processing.rbgit commit -m "better docs for Spree::Payment::Processing#capture!"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Spree--Payment--Processing-capture--for-pr

hub pull-request


# Celebrate!