Plugin Directory

Changeset 2678657


Ignore:
Timestamp:
02/14/2022 07:19:37 PM (4 years ago)
Author:
paybyrd
Message:

Remove sandbox from urls

Location:
paybyrd/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • paybyrd/trunk/README.txt

    r2638639 r2678657  
    55Requires at least: 4.7
    66Tested up to: 5.8
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
  • paybyrd/trunk/paybyrd-payment.php

    r2638639 r2678657  
    55     * Author: Paybyrd
    66     * Author URI: https://www.paybyrd.com
    7      * Version: 1.0.0
     7     * Version: 1.0.1
    88     * Domain Path: /languages
    99     */
     
    2828
    2929                /**
    30                  * Constructor for the gatewaysandbox.
     30                 * Constructor for the gateway.
    3131                 */
    3232                public function __construct() {
     
    9090                            ];
    9191   
    92                             $response = wp_remote_request('https://gatewaysandbox.paybyrd.com/api/v1/webhook', $args);
     92                            $response = wp_remote_request('https://gateway.paybyrd.com/api/v1/webhook', $args);
    9393                            $response = wp_remote_retrieve_body($response);
    9494                            $response = json_decode($response, true);
     
    123123                            ];
    124124   
    125                             $response = wp_remote_request('https://gatewaysandbox.paybyrd.com/api/v1/webhook', $args);
     125                            $response = wp_remote_request('https://gateway.paybyrd.com/api/v1/webhook', $args);
    126126                            $response = wp_remote_retrieve_body($response);
    127127                            $response = json_decode($response, true);
     
    235235                    ];
    236236                   
    237                     $response = wp_remote_post('https://gatewaysandbox.paybyrd.com/api/v2/orders', $args);
     237                    $response = wp_remote_post('https://gateway.paybyrd.com/api/v2/orders', $args);
    238238                    $response = wp_remote_retrieve_body($response);
    239239                    $response = json_decode($response, true);
     
    304304                    ];
    305305                   
    306                     $response = wp_remote_get("https://gatewaysandbox.paybyrd.com/api/v2/orders/{$orderId}", $args);
     306                    $response = wp_remote_get("https://gateway.paybyrd.com/api/v2/orders/{$orderId}", $args);
    307307                    $response = wp_remote_retrieve_body($response);
    308308                    $response = json_decode($response, true);
     
    380380            ];
    381381
    382             $response = wp_remote_get('https://gatewaysandbox.paybyrd.com/api/v2/orders/' . $orderId, $args);
     382            $response = wp_remote_get('https://gateway.paybyrd.com/api/v2/orders/' . $orderId, $args);
    383383            $response = wp_remote_retrieve_body($response);
    384384            $response = json_decode($response, true);
  • paybyrd/trunk/paybyrd.js

    r2638639 r2678657  
    11jQuery(function($) {
    22    $('body').append(`
    3         <form target="paybyrd_iframe" id="paybyrd_form" action="https://gatewaysandbox.paybyrd.com/v1/hostedform" method="post">
     3        <form target="paybyrd_iframe" id="paybyrd_form" action="https://gateway.paybyrd.com/v1/hostedform" method="post">
    44            <input type="hidden" id="paymentId" name="paymentId" value="${paybyrd_params.orderId}">
    55            <input type="hidden" name="redirectUrl" value="${paybyrd_params.redirectUrl}">
Note: See TracChangeset for help on using the changeset viewer.