Adyen / adyen-prestashop

Adyen Payment plugin for Prestashop
MIT License
14 stars 14 forks source link

ApplePay not working - Required field 'merchantIdentifier' is null always #252

Closed alexandrebrubeyonds closed 1 year ago

alexandrebrubeyonds commented 1 year ago

Describe the bug Apple Pay merchant name and Apple Pay merchant identifier is filled in BO. But when we click on Apple Pay Button, the ajax get request respond error.

Request : https://checkoutshopper-live.adyen.com/checkoutshopper/v1/applePay/sessions?clientKey=XXXXXX Response : { "status": 500, "errorCode": "702", "message": "Required field 'merchantIdentifier' is null", "errorType": "validation" }

I try to add merchantIdentifier in queryString, but response is the same.

To Reproduce Steps to reproduce the behavior:

  1. Setup Apple Pay
  2. Click on 'Apple Pay Button' to pay
  3. See error in console
adyen-integrations-support commented 1 year ago

Hello @alexandrebrubeyonds ,

Thanks for reaching out regarding this issue. Please note that our team tried to reproduce the issue in our local environment. We didn’t succeed it.

We would like to ask you to report the issue through this channel → Submit a request – Adyen. Also, it would be best if you can put all this necessary information in the description when you submit a request.

Company account* - Company account from Adyen CA account

Merchant account - Merchant account from Adyen CA account

Description* - Describes in detail what is the problem or error.

Steps to reproduce - Information on how to reproduce a reported issue with detailed steps.

Screenshots - Screenshots that describe the issue.

System version* - Prestashop system version.

Plugin version* - Adyen plugin version installed to the integrated system.

Also, it would be beneficial if you can provide the test environment with the reproducible problem (the one you reported) and with back-end, FTP access, and test Apple pay credentials so that we can try to resolve the issue.

Thank you very much,

Best regards

Logeecom team System Integration Adyen partner

alexandrebrubeyonds commented 1 year ago

I already did it but Adyen support said PrestaShop module is not developped by Adyen but an other company.

alexandrebrubeyonds commented 1 year ago

I found one error in modules/adyenofficial/views/js/bundle.js You use c=o.merchantId instead of c=o.merchantIdentifier But after this fix, I can accept the payment on my mobile but nothing is triggered ans payment is not visible on Adyen Back Office.

alexandrebrubeyonds commented 1 year ago

Anyone can help us ?

adyen-integrations-support commented 1 year ago

Hello @alexandrebrubeyonds ,

Our team sent a response through email. Please note that we will continue our conversation and troubleshooting through that channel and close this issue on GitHub.

Thank you very much.

Best regards.

francoispeyret commented 1 year ago

Can a solution or explanation be proposed in public ?

We have a similar situation with prestashop 1.7.7.8 and module 4.0.X

francoispeyret commented 1 year ago

We have contacted the technical support. They managed to reproduce the error and will keep us informed as soon as a fix is found.