solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::PaymentMethod#partial_name
Used as partial name for your payment method
Currently your payment method needs to provide these partials:
1. app/views/spree/checkout/payment/_{partial_name}.html.erb
The form your customer enters the payment information in during checkout
2. app/views/spree/checkout/existing_payment/_{partial_name}.html.erb
The payment information of your customers reusable sources during checkout
3. app/views/spree/admin/payments/source_forms/_{partial_name}.html.erb
The form an admin enters payment information in when creating orders in the backend
4. app/views/spree/admin/payments/source_views/_{partial_name}.html.erb
The view that represents your payment method on orders in the backendEdit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/payment_method.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--PaymentMethod-partial_name-for-pr
# Commit to gitgit add core/app/models/spree/payment_method.rbgit commit -m "better docs for Spree::PaymentMethod#partial_name"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--PaymentMethod-partial_name-for-pr
hub pull-request
# Celebrate!