Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'CnpOnline'
- include CnpOnline
- hash = {
- 'merchantId' => '101',
- 'version'=>'8.8',
- 'id'=>'test',
- 'reportGroup'=>'Planets',
- 'partial'=>'true',
- 'cnpTxnId'=>'123456000',
- 'amount'=>'106',
- }
- response= CnpOnlineRequest.new.capture(hash)
- puts response.message
Add Comment
Please, Sign In to add comment