Plugin Directory

Changeset 1746468


Ignore:
Timestamp:
10/14/2017 01:35:03 PM (8 years ago)
Author:
nickvdberg
Message:

Update cashback call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • woo-ea/tags/1.0.2/earnbox-for-woocommerce.php

    r1745978 r1746468  
    483483        $secret = $earnboxSettings['secret'];
    484484        $amount = $order->get_total();
    485         $url = esc_url_raw( "https://earnbox.co/reward/{$secret}/{$amount}" );
     485        $url = esc_url_raw( "https://earnbox.co/reward/{$secret}/{$amount}/url" );
    486486
    487487        $cashbackURL = wp_remote_post( $url, array(
Note: See TracChangeset for help on using the changeset viewer.