Changeset 2678657
- Timestamp:
- 02/14/2022 07:19:37 PM (4 years ago)
- Location:
- paybyrd/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
paybyrd-payment.php (modified) (7 diffs)
-
paybyrd.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
paybyrd/trunk/README.txt
r2638639 r2678657 5 5 Requires at least: 4.7 6 6 Tested up to: 5.8 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later -
paybyrd/trunk/paybyrd-payment.php
r2638639 r2678657 5 5 * Author: Paybyrd 6 6 * Author URI: https://www.paybyrd.com 7 * Version: 1.0. 07 * Version: 1.0.1 8 8 * Domain Path: /languages 9 9 */ … … 28 28 29 29 /** 30 * Constructor for the gateway sandbox.30 * Constructor for the gateway. 31 31 */ 32 32 public function __construct() { … … 90 90 ]; 91 91 92 $response = wp_remote_request('https://gateway sandbox.paybyrd.com/api/v1/webhook', $args);92 $response = wp_remote_request('https://gateway.paybyrd.com/api/v1/webhook', $args); 93 93 $response = wp_remote_retrieve_body($response); 94 94 $response = json_decode($response, true); … … 123 123 ]; 124 124 125 $response = wp_remote_request('https://gateway sandbox.paybyrd.com/api/v1/webhook', $args);125 $response = wp_remote_request('https://gateway.paybyrd.com/api/v1/webhook', $args); 126 126 $response = wp_remote_retrieve_body($response); 127 127 $response = json_decode($response, true); … … 235 235 ]; 236 236 237 $response = wp_remote_post('https://gateway sandbox.paybyrd.com/api/v2/orders', $args);237 $response = wp_remote_post('https://gateway.paybyrd.com/api/v2/orders', $args); 238 238 $response = wp_remote_retrieve_body($response); 239 239 $response = json_decode($response, true); … … 304 304 ]; 305 305 306 $response = wp_remote_get("https://gateway sandbox.paybyrd.com/api/v2/orders/{$orderId}", $args);306 $response = wp_remote_get("https://gateway.paybyrd.com/api/v2/orders/{$orderId}", $args); 307 307 $response = wp_remote_retrieve_body($response); 308 308 $response = json_decode($response, true); … … 380 380 ]; 381 381 382 $response = wp_remote_get('https://gateway sandbox.paybyrd.com/api/v2/orders/' . $orderId, $args);382 $response = wp_remote_get('https://gateway.paybyrd.com/api/v2/orders/' . $orderId, $args); 383 383 $response = wp_remote_retrieve_body($response); 384 384 $response = json_decode($response, true); -
paybyrd/trunk/paybyrd.js
r2638639 r2678657 1 1 jQuery(function($) { 2 2 $('body').append(` 3 <form target="paybyrd_iframe" id="paybyrd_form" action="https://gateway sandbox.paybyrd.com/v1/hostedform" method="post">3 <form target="paybyrd_iframe" id="paybyrd_form" action="https://gateway.paybyrd.com/v1/hostedform" method="post"> 4 4 <input type="hidden" id="paymentId" name="paymentId" value="${paybyrd_params.orderId}"> 5 5 <input type="hidden" name="redirectUrl" value="${paybyrd_params.redirectUrl}">
Note: See TracChangeset
for help on using the changeset viewer.