solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Wallet::AddPaymentSourcesToWallet#add_to_wallet
This is called after an order transistions to complete and should save the order's payment source/s in the user's "wallet" for future use.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/wallet/add_payment_sources_to_wallet.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Wallet--AddPaymentSourcesToWallet-add_to_wallet-for-pr
# Commit to gitgit add core/app/models/spree/wallet/add_payment_sources_to_wallet.rbgit commit -m "better docs for Spree::Wallet::AddPaymentSourcesToWallet#add_to_wallet"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Wallet--AddPaymentSourcesToWallet-add_to_wallet-for-pr
hub pull-request
# Celebrate!