sample/test-va.rb in nicepay-0.1.0 vs sample/test-va.rb in nicepay-0.1.1

- old
+ new

@@ -2,12 +2,12 @@ =begin Nicepay Ruby Bindings Virtual Account Sample Code Have a Nicepay! =end -require_relative 'lib/nicepay' - +require 'nicepay' +# require 'nicepay' # Configuration # MID Nicepay.iMid=('VACCTCLOSE') # Merchant Key @@ -53,10 +53,10 @@ # Amount -> auto count from cartData Nicepay.setRequestParam('amt', Nicepay.autoCountTotal) # Currency -> Indonesian Rupiah -Nicepay.setRequestParam('currency', 'IRD') +Nicepay.setRequestParam('currency', 'IDR') # Set customer information Nicepay.setRequestParam('billingNm', 'John Doe') Nicepay.setRequestParam('billingPhone', '02112341234') Nicepay.setRequestParam('billingEmail', 'john.doe@example.com') \ No newline at end of file