-
Notifications
You must be signed in to change notification settings - Fork 2
Cellvin Chung edited this page Feb 26, 2020
·
1 revision
Gemfile 加上:
gem 'newebpay-rails'
執行:
$ bundle install
建立 config/initializers/newebpay.rb
$ rails generate newebpay:install
- 在
config/initializers/newebpay.rb
輸入hash_key
,hash_iv
與 預設的商店代號merchant_id
- 設定
default_url_options[:host]