Plugin Directory

Changeset 2248641


Ignore:
Timestamp:
02/22/2020 08:59:30 AM (6 years ago)
Author:
maxp555
Message:

v1.0

Location:
woo-pay-via-proxyapi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • woo-pay-via-proxyapi/tags/1.0/trunk/proxyapi-pvp.php

    r2247653 r2248641  
    149149            $callbackUrl = home_url('/wc-api/'.strtolower($this->webHook));
    150150            $timestamp = time();
    151             $amount = intval(floatval($order->get_total()) * 100);
     151            $amount = floatval($order->get_total());
    152152            $senderMSISDN = $this->__format_msisdn($order->get_billing_phone());
    153153            $accountRef = strval($order_id);
  • woo-pay-via-proxyapi/trunk/proxyapi-pvp.php

    r2247653 r2248641  
    149149            $callbackUrl = home_url('/wc-api/'.strtolower($this->webHook));
    150150            $timestamp = time();
    151             $amount = intval(floatval($order->get_total()) * 100);
     151            $amount = floatval($order->get_total());
    152152            $senderMSISDN = $this->__format_msisdn($order->get_billing_phone());
    153153            $accountRef = strval($order_id);
Note: See TracChangeset for help on using the changeset viewer.