README.md in opay-1.2.1 vs README.md in opay-1.2.2
- old
+ new
@@ -60,12 +60,12 @@
= opay_form_for(@model_name, provider: :payu) do |f|
= f.payment_info first_name: 'Jan', last_name: 'Kowalski', email: 'kowalski@gmail.com', desc: 'Payment description'
= f.submit 'pay with payu'
```
+set up online url in payu.pl to: `/opay/payu/online`
+
``` haml
= opay_form_for(@model_name, provider: :paypal) do |f|
= f.payment_info desc: 'Test payment', client_ip: '127.0.0.1'
- = f.submit 'pay with payu'
+ = f.paypal_submit_tag
```
-
-set up online url in payu.pl to: `/opay/payu/online`