Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#GCC currency - saved amount on create adyen order #1385

Closed
wants to merge 5 commits into from

Commits on Mar 3, 2022

  1. #GCC currency order authorization fix

    - When display currency is KWD, or BHD data is not formatted correctly in :
    $this->adyenDataHelper->originalAmount($notification->getAmountValue(), $order->getBaseCurrencyCode());
    
    - It will always format the amount based on base currency not on display currency and therefore amount is not correctly saved here: \Adyen\Payment\Helper\AdyenOrderPayment::createAdyenOrderPayment
    
    Example:
    I place an order for 10BHD but in adyen_order_payment database the amount saved is 100.00 when base currency of the shop is different than BHD, KWD...
    Later it crushes the whole flow of generating invoices and capturing the right amount
    Dejan Karakashov committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    2b438c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61ea3d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Configuration menu
    Copy the full SHA
    423ca52 View commit details
    Browse the repository at this point in the history
  2. Update AdyenOrderPayment.php

    Dejan Karakashov committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    0e867d7 View commit details
    Browse the repository at this point in the history
  3. Update AdyenOrderPayment.php

    Dejan Karakashov committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    37b4da2 View commit details
    Browse the repository at this point in the history