Author Topic: Bank Transfer Payment Method in android APP  (Read 9037 times)

Offline Rawinder Dhillon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-0
    • View Profile
Bank Transfer Payment Method in android APP
« on: October 28, 2020, 11:47:50 AM »
In my Android app. i'm able to place order on my Website but with payment type "COD" only.
on my website i have another payment extension that is Default_banktranfer. on website its working fine.but in android app is showing error
'status' => 5, 'error' => 'Something went wrong. Incomplete request!'

there is a parameter in process Request that is "payment details"
im not sending this as i assumed that on website it is working without any payment details(and also working for COD) so it will work here too.
but its not working . i search online but couldn't able to find any clue that what will be the value of this parameter in case of banktransfer (like null or something else)

documentation saying it is "Details that are returned from confirmation step in payment structure"   
and in notes "Required based on “required” flag in the structure".

Where is this Required Flag?
and what will be the value of parameter in case of bank transfer ?
Thx in Advance

« Last Edit: October 28, 2020, 11:55:36 AM by Rawinder Dhillon »

Offline dvagner

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • View Profile
Re: Bank Transfer Payment Method in android APP
« Reply #1 on: October 29, 2020, 02:01:39 AM »
In case of using other payments, you can try use webview
Payments not ready for work via API.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4363
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Bank Transfer Payment Method in android APP
« Reply #2 on: October 29, 2020, 12:15:38 PM »
Rawinder,

What it meant that you need post back the (payment details) required fields with “required” flag that came from confirmation step.
In case of COD and Bank Transfer you should not have these.

I do agree with dvagner, native apps should handle specific payments with SDK and we can adjust AbanteCart API to handle payment confirmation 
Open for ideas and discussion.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline Rawinder Dhillon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-0
    • View Profile
Re: Bank Transfer Payment Method in android APP
« Reply #3 on: October 30, 2020, 10:40:12 AM »
Rawinder,

What it meant that you need post back the (payment details) required fields with “required” flag that came from confirmation step.
In case of COD and Bank Transfer you should not have these.

I do agree with dvagner, native apps should handle specific payments with SDK and we can adjust AbanteCart API to handle payment confirmation 
Open for ideas and discussion.

ok Admin,
as cod was working and default_Banktransfer was creating problem so i thought there may be some other data required.
but as you cleared now that COD & Bank transfer DoNot have these Flags . so problem must be somewhere else .
Thx for Your reply , will check other things now 

Offline Rawinder Dhillon

  • Newbie
  • *
  • Posts: 24
  • Karma: +5/-0
    • View Profile
Re: Bank Transfer Payment Method in android APP
« Reply #4 on: October 31, 2020, 06:08:45 AM »
when i execute confirm step in Postman it return a parameter "Payment"  with Jason Response.
but in android APP confirm command doesn't include "Payment" Parameter in JSON Response.
what will be the reason ? 

 

Powered by SMFPacks Social Login Mod