test/unit/gateways/garanti_test.rb
# Place raw successful response from gateway here
Place raw successful response from gateway here
Place raw successful response from gateway here
def successful_purchase_response
   <<-EOF
<CC5Response>
  <OrderId>db4af18c5222503d845180350fbda516</OrderId>
  <GroupId>db4af18c5222503d845180350fbda516</GroupId>
  <Response>Approved</Response>
  <AuthCode>853030</AuthCode>
  <HostRefNum></HostRefNum>
  <ProcReturnCode></ProcReturnCode>
  <TransId>4bd864bb-e506-3000-002d-00144f7c9514</TransId>
  <ErrMsg></ErrMsg>
  <Extra>
    <TRXDATE>20100428 21:27:32</TRXDATE>
    <NUMCODE>00000099999999</NUMCODE>
  </Extra>
</CC5Response>
EOF
  end
def successful_purchase_response <<-EOF 
<CC5Response>
  <OrderId>db4af18c5222503d845180350fbda516</OrderId>
  <GroupId>db4af18c5222503d845180350fbda516</GroupId>
  <Response>Approved</Response>
  <AuthCode>853030</AuthCode>
  <HostRefNum></HostRefNum>
  <ProcReturnCode></ProcReturnCode>
  <TransId>4bd864bb-e506-3000-002d-00144f7c9514</TransId>
  <ErrMsg></ErrMsg>
  <Extra>
    <TRXDATE>20100428 21:27:32</TRXDATE>
    <NUMCODE>00000099999999</NUMCODE>
  </Extra>
</CC5Response>

 EOF end
Place raw successful response from gateway here
Place raw successful response from gateway here