vvvirani / flutter_amazon_payfort

Flutter plugin for Amazon Payment Services (Payfort). It supports both android and iOS.
https://pub.dev/packages/amazon_payfort
MIT License
5 stars 12 forks source link

Always get response_code": "13006 with response_message": "Technical problem" #13

Closed siko1699 closed 9 months ago

siko1699 commented 9 months ago

when i try to complete a paymet using test credit card it always return the same error and the whole response is

failed: Technical problem - ["amount": "100000", "phone_number": "", "token_name": "", "customer_name": "Test Customer", "command": "PURCHASE", "customer_ip": "192.168.1.63", "eci": "", "customer_email": "test@customer.com", "sdk_token": "$", "merchant_reference": "$", "payment_option": "", "currency": "SAR", "language": "en", "order_description": "Test Order"] - ["response_message": "Technical problem", "expiry_date": "2505", "fort_id": "$", "payment_option": "VISA", "sdk_token": "$", "currency": "SAR", "command": "PURCHASE", "card_number": "4005550001", "merchant_reference": "$", "language": "en", "customer_email": "test@customer.com", "amount": "100000", "order_description": "Test Order", "customer_name": "Test Customer", "response_code": "13006", "customer_ip": "192.168.1.63", "card_holder_name": "Jake ", "status": "13"] **

AhmedAElllatif commented 9 months ago

same on IOS

omeramasib commented 9 months ago

same as me when i'm trying to test the pay with ios it’s gave me this issue , but in the android device it's working fine

AhmedAElllatif commented 9 months ago

@vvvirani Can you tell me what is causing this problem?

siko1699 commented 9 months ago

@vvvirani Can you tell me what is causing this problem?

when i trying to use payfort payment or using apple-pay always get this error t response_code": "13006 with response_message": "Technical problem"

omeramasib commented 9 months ago

@vvvirani Can you tell me what is causing this problem?

when i trying to use payfort payment or using apple-pay always get this error t response_code": "13006 with response_message": "Technical problem"

Also i'm facing the same issue

omeramasib commented 9 months ago

This is the response from amazon integration support after i showing them the same code in the SDK

Hi,

Thanks for sharing the code block, I can see that you are integrating the native iOS SDK from the flutter application for credit and debit card integration. Due to this some parameters are being sent empty from the iOS sdk hence causing the issue. Can you try using our flutter package for integrating on both iOS and android - https://github.com/payfort/flutter-amazonpaymentservices for integrating Credit and Debit card transactions.

Please note for Apple Pay, you still need to call the function from iOS native SDK - callPayFortForApplePay()

AhmedAElllatif commented 9 months ago

@omeramasib @siko1699 @vvvirani // request["eci"] = (requestData["eci"] as? String) ?? "ECOMMERCE";

This field must send in request IOS with a value .. work for me after update this field

image

omeramasib commented 9 months ago

Do you used native code instead of dart ?

في الاثنين، ٢٠ نوفمبر ٢٠٢٣, ٣:٤٩ م AhmedAElllatif @.***> كتب:

@omeramasib https://github.com/omeramasib @siko1699 https://github.com/siko1699 @vvvirani https://github.com/vvvirani // request["eci"] = (requestData["eci"] as? String) ?? "ECOMMERCE";

This field must send in request IOS with a value .. work for me after update this field

[image: image] https://user-images.githubusercontent.com/90184862/284270655-e3b89bde-e5bf-490b-b74f-625bd8113677.png

— Reply to this email directly, view it on GitHub https://github.com/vvvirani/flutter_amazon_payfort/issues/13#issuecomment-1819005400, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBUFTQ5LRSJHNGIRPFLH63YFNGWTAVCNFSM6AAAAAA7JEUBFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJZGAYDKNBQGA . You are receiving this because you were mentioned.Message ID: @.***>

AhmedAElllatif commented 9 months ago

@omeramasib I have modified the plugin IOS code

siko1699 commented 9 months ago

it's work but in applepay i get Something went wrong

omeramasib commented 9 months ago

Awesome, thanks for the update! , What about Apple pay is it work fine ?

في الاثنين، ٢٠ نوفمبر ٢٠٢٣, ٤:٢٤ م AhmedAElllatif @.***> كتب:

@omeramasib https://github.com/omeramasib I have modified the plugin IOS code

— Reply to this email directly, view it on GitHub https://github.com/vvvirani/flutter_amazon_payfort/issues/13#issuecomment-1819059376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBUFTUG6H7MG63CDOVMUDTYFNKZTAVCNFSM6AAAAAA7JEUBFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJZGA2TSMZXGY . You are receiving this because you were mentioned.Message ID: @.***>

AhmedAElllatif commented 9 months ago

@siko1699 can u give me message of error with ApplePay

AhmedAElllatif commented 9 months ago

This is the response from amazon integration support after i showing them the same code in the SDK

Hi,

Thanks for sharing the code block, I can see that you are integrating the native iOS SDK from the flutter application for credit and debit card integration. Due to this some parameters are being sent empty from the iOS sdk hence causing the issue. Can you try using our flutter package for integrating on both iOS and android - https://github.com/payfort/flutter-amazonpaymentservices for integrating Credit and Debit card transactions.

Please note for Apple Pay, you still need to call the function from iOS native SDK - callPayFortForApplePay()

how can i connect with them ?

omeramasib commented 9 months ago

With there platform, you have first to register as a merchant after that they will connect with you to give you the documentations and all the necessary documents

في الاثنين، ٢٠ نوفمبر ٢٠٢٣, ٤:٤١ م AhmedAElllatif @.***> كتب:

This is the response from amazon integration support after i showing them the same code in the SDK

Hi,

Thanks for sharing the code block, I can see that you are integrating the native iOS SDK from the flutter application for credit and debit card integration. Due to this some parameters are being sent empty from the iOS sdk hence causing the issue. Can you try using our flutter package for integrating on both iOS and android - https://github.com/payfort/flutter-amazonpaymentservices for integrating Credit and Debit card transactions.

Please note for Apple Pay, you still need to call the function from iOS native SDK - callPayFortForApplePay()

how can i connect with them ?

— Reply to this email directly, view it on GitHub https://github.com/vvvirani/flutter_amazon_payfort/issues/13#issuecomment-1819086748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBUFTUA5IGZ27SRXUSW3BTYFNMZPAVCNFSM6AAAAAA7JEUBFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJZGA4DMNZUHA . You are receiving this because you were mentioned.Message ID: @.***>

AhmedAElllatif commented 9 months ago

01204561050 WhatsApp number

AhmedAElllatif commented 9 months ago

With you country code please في الاثنين، ٢٠ نوفمبر ٢٠٢٣, ٤:٤٩ م AhmedAElllatif @.> كتب: 01204561050 — Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBUFTSKU7U3HGSNTR63B3TYFNNVRAVCNFSM6AAAAAA7JEUBFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJZGA4TQNJVGQ . You are receiving this because you were mentioned.Message ID: @.>

https://wa.me/+201204561050

vvvirani commented 9 months ago

Successfully uploaded https://pub.dev/packages/amazon_payfort version 1.0.2.