Plugin Directory

Changeset 2668367


Ignore:
Timestamp:
01/28/2022 03:53:15 PM (4 years ago)
Author:
socialproofy
Message:

Integration v2 updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • socialproofy/trunk/socialproofy.php

    r2665795 r2668367  
    252252        'body' => $post_data,
    253253    );
    254     $response = wp_remote_post('https://app.socialproofy.io/integration-check', $wpCurlArgs);
     254    $response = wp_remote_post('https://app.socialproofy.io/integrate/woocommerce/check', $wpCurlArgs);
    255255    $response_data = json_decode(wp_remote_retrieve_body($response), TRUE);
    256256    if ($response_data['status'] == "success") {
     
    490490    );
    491491
    492     $response = wp_remote_post('https://app.socialproofy.io/integration-data', $wpCurlArgs);
     492    $response = wp_remote_post('https://app.socialproofy.io/integrate/woocommerce/data', $wpCurlArgs);
    493493    if (is_wp_error($response)) {
    494494        return $response->get_error_message();
Note: See TracChangeset for help on using the changeset viewer.