Skip to content

Incorrect Prices Being Recorded #4

Closed

Description

@bret-BSA

Magento 2.4 ECE
PHP 7.4

activecampaign/module-integration/Core/Helper/Data.php

public function priceToCents($price = 0.0)
{
return (int) round($price, 2) * 100;
}

SHOULD BE:

public function priceToCents($price = 0.0)
{
return (int) (round($price, 2) * 100);
}

Activity

  1. changed the title [-]Abandoned Cart Sync Has Incorrect Prices[/-] [+]Incorrect Prices Being Recorded[/+] on Oct 11, 2021
  2. added a commit that references this issue on Oct 12, 2021
  3. bret-BSA commented on Feb 8, 2022

    @bret-BSA
    Author

    This was fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions