百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

payment_icons

> 编程语言
开源

一个易于使用的库,可让您管理和访问支付图标

175 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

一个易于使用的库,可让您管理和访问支付图标

⚠️ Only Shopify Partners team approved icons may be reviewed/merged ⚠️

Please read more on shopify.dev/apps/payments and/or reach out on the developer forums.

Payment Icons

Payment Icons is a simple Ruby on Rails engine extracted from Shopify. Shopify supports multiple payment methods through gems like Active Merchant and Offsite Payments. This has lead to an accumulation of icons for various payment methods. This gem provides easy access to those icons and helpful methods to integrate them into any Ruby on Rails app.

Usage

From Git

You can check out the latest source from git:

bash
git clone https://github.com/activemerchant/payment_icons.git

From RubyGems

Run gem install payment_icons in your console.

If you'd like to add it to your existing Rails project, include gem 'payment_icons' in your Gemfile and run bundle install.

Once the gem is part of your Rails project, the PaymentIcon frozen record model will be available anywhere in your application. You also have access to all the icons with the path app/assets/images/payment_icons/.

For example:

erb

  

Contributing

For information on adding or updating payment icons, see our CONTRIBUTING.md file.

Releases

This information is for project maintainers:

Requirements

  • Ruby version: >= 2.5.0
  • Bundler 2.0.2 (gem install bundler:2.0.2)

Any updates that add new icons, or change the style of existing ones, are to be considered patches (i.e. v1.0.X).

To create a new release:

  • git checkout master to get back to master branch
  • git fetch --tags --force to refresh tags
  • git pull origin master to pull latest changes to your local environment
  • Run bump patch --tag --tag-prefix v --commit-message release. This will create a new commit that includes a version bump and a new tag.
  • git push --tags origin master
  • Contact a maintainer in Shopify to release the new version via ShipIt.

Once deployed via ShipIt, you will see a new release at https://rubygems.org/gems/payment_icons

Issues· 27 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubypayment-iconspayments

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言