Adyen / adyen-web

Adyen Web Drop-in and Components
https://docs.adyen.com/online-payments
MIT License
187 stars 132 forks source link

Native coupon code field not appearing in Apple Pay Payment, even with supportsCouponCode set to true. #2954

Closed Gurpreet-Dhiman closed 1 week ago

Gurpreet-Dhiman commented 1 week ago

Describe the bug The native coupon code field is not appearing in the Apple Pay modal, even after configuring supportsCouponCode: true in the Adyen Web SDK configuration. The expected behavior is for the coupon code field to be displayed, allowing users to enter a coupon code during checkout, but this does not occur.

To Reproduce Steps to reproduce the behavior:

  1. Go to the checkout page with Apple Pay integration.
  2. Set supportsCouponCode: true in the Adyen configuration.
  3. Open the Apple Pay modal.
  4. The native coupon code field does not appear in the modal.

Expected behavior The coupon code field should appear in the Apple Pay modal when supportsCouponCode is set to true, allowing users to enter a coupon code to apply discounts.

Screenshots The coupon code field is missing, even though the supportsCouponCode configuration is set to true.

Desktop (please complete the following information): @adyen/adyen-web version: 5.66.1 (or the specific version you're using)

Smartphone (please complete the following information):

Additional context Even though the configuration parameters supportsCouponCode and couponCode are not mentioned in the official Adyen Web Component Apple Pay documentation, but can be found in the Adyen iOS Component Apple Pay documentation. This discrepancy may indicate that these parameters are either unsupported or not properly documented for the web component.

camil-adyen commented 1 week ago

Hi @Gurpreet-Dhiman, thank you for raising this topic.

Support for Apple Pay coupons on Web hasn't been requested before. We'll put this topic in our backlog and monitor similar feature requests in the coming period. For now I'll close this issue as we do not expect to pick it up any time soon.