README.md in alipay-0.4.1 vs README.md in alipay-0.5.0
- old
+ new
@@ -14,11 +14,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'alipay', '~> 0.4.1'
+gem 'alipay', '~> 0.5.0'
```
or development version
```ruby
@@ -37,9 +37,10 @@
```ruby
Alipay.pid = 'YOUR_PID'
Alipay.key = 'YOUR_KEY'
Alipay.seller_email = 'YOUR_SELLER_EMAIL'
+Alipay.debug_mode = true # Default is true. Example for rails: !Rails.env.production?
```
### Generate payment url for web
```ruby