Comments (10)
I have this exact same issue.
What is: ‘Cancel url is not a valid URL’,? and how do I fix it?
from coinbase-woocommerce.
I'm having a hard time reproducing this. Is this occurring on fresh installs or recent upgrades? What versions of Wordpress and Woocommerce are you using? What is the exact cancel_url
present in the error message?
As a workaround you can use this branch which does not send the cancel_url but I would like to get to the bottom of this and implement a proper fix.
from coinbase-woocommerce.
Thanks Alex.
I think it's because of the recent WordPress upgrade.
I'm also running the latest WooCommerce version.
Here is the entire error from the comments area of WooCommerce.
I reset the keys, and rechecked the settings, Manage, Users, etc.
in Coinbase, but not success.
I did find another solution that is similar to an Authorize.net gateway
in that it works
for many different cryptocurrencies.
The company that made the plugin is in Dominica.
I would rather use Coinbase-Woocommerce if you can tell me how to fix
the plugin.
Mark Rudder
BOLD Arms.
On 7/4/2016 5:07 PM, Alex Ianus wrote:
I'm having a hard time reproducing this. Is this occurring on fresh
installs or recent upgrades? What versions of Wordpress and
Woocommerce are you using? What is the exact |cancel_url| present in
the error message?As a workaround you can use this branch
https://github.com/coinbase/coinbase-woocommerce/tree/aianus/remove_cancel_url
which does not send the cancel_url but I would like to get to the
bottom of this and implement a proper fix.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATWNJg388-eXszsnMmdtYMGnU0vLdFBaks5qSaA6gaJpZM4JBwgK.
Error while processing coinbase payment: Coinbase_ApiException::__set_state(array(
‘message’ => ‘Cancel url is not a valid URL’,
‘string’ => ”,
‘code’ => 0,
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Rpc.php’,
‘line’ => 109,
‘trace’ =>
array (
0 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Coinbase.php’,
‘line’ => 69,
‘function’ => ‘request’,
‘class’ => ‘Coinbase_Rpc’,
‘type’ => ‘->’,
‘args’ =>
array (
0 => ‘POST’,
1 => ‘buttons’,
2 =>
array (
‘button’ =>
array (
‘name’ => ‘Order #2966’,
‘price_string’ => 640,
‘price_currency_iso’ => ‘USD’,
‘callback_url’ => ‘https://boldarms.com/wc-api/WC_Gateway_Coinbase/?callback_secret=6260436a05b4b458ff26e57f3832aaae54219941’,
‘custom’ => 2966,
‘success_url’ => ‘https://boldarms.com/checkout-2/order-received/2966?key=wc_order_5775fd2d9927e&return_from_coinbase=1’,
‘cancel_url’ => ‘https://boldarms.com/cart-2/?cancel_order=true&return_from_coinbase=1&cancelled=1&order_key=wc_order_5775fd2d9927e#038;order=wc_order_5775fd2d9927e&order_id=2966&redirect’,
),
),
),
),
1 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Coinbase.php’,
‘line’ => 208,
‘function’ => ‘post’,
‘class’ => ‘Coinbase’,
‘type’ => ‘->’,
‘args’ =>
array (
0 => ‘buttons’,
1 =>
array (
‘button’ =>
array (
‘name’ => ‘Order #2966’,
‘price_string’ => 640,
‘price_currency_iso’ => ‘USD’,
‘callback_url’ => ‘https://boldarms.com/wc-api/WC_Gateway_Coinbase/?callback_secret=6260436a05b4b458ff26e57f3832aaae54219941’,
‘custom’ => 2966,
‘success_url’ => ‘https://boldarms.com/checkout-2/order-received/2966?key=wc_order_5775fd2d9927e&return_from_coinbase=1’,
‘cancel_url’ => ‘https://boldarms.com/cart-2/?cancel_order=true&return_from_coinbase=1&cancelled=1&order_key=wc_order_5775fd2d9927e#038;order=wc_order_5775fd2d9927e&order_id=2966&redirect’,
),
),
),
),
2 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/coinbase-woocommerce/coinbase-woocommerce.php’,
‘line’ => 216,
‘function’ => ‘createButtonWithOptions’,
‘class’ => ‘Coinbase’,
‘type’ => ‘->’,
‘args’ =>
array (
0 =>
array (
‘name’ => ‘Order #2966’,
‘price_string’ => 640,
‘price_currency_iso’ => ‘USD’,
‘callback_url’ => ‘https://boldarms.com/wc-api/WC_Gateway_Coinbase/?callback_secret=6260436a05b4b458ff26e57f3832aaae54219941’,
‘custom’ => 2966,
‘success_url’ => ‘https://boldarms.com/checkout-2/order-received/2966?key=wc_order_5775fd2d9927e&return_from_coinbase=1’,
‘cancel_url’ => ‘https://boldarms.com/cart-2/?cancel_order=true&return_from_coinbase=1&cancelled=1&order_key=wc_order_5775fd2d9927e#038;order=wc_order_5775fd2d9927e&order_id=2966&redirect’,
),
),
),
3 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/woocommerce/includes/class-wc-checkout.php’,
‘line’ => 663,
‘function’ => ‘process_payment’,
‘class’ => ‘WC_Gateway_Coinbase’,
‘type’ => ‘->’,
‘args’ =>
array (
0 => 2966,
),
),
4 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/woocommerce/includes/class-wc-ajax.php’,
‘line’ => 472,
‘function’ => ‘process_checkout’,
‘class’ => ‘WC_Checkout’,
‘type’ => ‘->’,
‘args’ =>
array (
),
),
5 =>
array (
‘function’ => ‘checkout’,
‘class’ => ‘WC_AJAX’,
‘type’ => ‘::’,
‘args’ =>
array (
0 => ”,
),
),
6 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-includes/plugin.php’,
‘line’ => 525,
‘function’ => ‘call_user_func_array’,
‘args’ =>
array (
0 =>
array (
0 => ‘WC_AJAX’,
1 => ‘checkout’,
),
1 =>
array (
0 => ”,
),
),
),
7 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-content/plugins/woocommerce/includes/class-wc-ajax.php’,
‘line’ => 82,
‘function’ => ‘do_action’,
‘args’ =>
array (
0 => ‘wc_ajax_checkout’,
),
),
8 =>
array (
‘function’ => ‘do_wc_ajax’,
‘class’ => ‘WC_AJAX’,
‘type’ => ‘::’,
‘args’ =>
array (
0 => ”,
),
),
9 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-includes/plugin.php’,
‘line’ => 525,
‘function’ => ‘call_user_func_array’,
‘args’ =>
array (
0 =>
array (
0 => ‘WC_AJAX’,
1 => ‘do_wc_ajax’,
),
1 =>
array (
0 => ”,
),
),
),
10 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-includes/template-loader.php’,
‘line’ => 12,
‘function’ => ‘do_action’,
‘args’ =>
array (
0 => ‘template_redirect’,
),
),
11 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/wp-blog-header.php’,
‘line’ => 19,
‘args’ =>
array (
0 => ‘/home/realsign/public_html/boldarms/wp-includes/template-loader.php’,
),
‘function’ => ‘require_once’,
),
12 =>
array (
‘file’ => ‘/home/realsign/public_html/boldarms/index.php’,
‘line’ => 17,
‘args’ =>
array (
0 => ‘/home/realsign/public_html/boldarms/wp-blog-header.php’,
),
‘function’ => ‘require’,
),
),
‘previous’ => NULL,
‘http_code’ => 200,
‘response’ => ‘{“success”:false,”errors”:[“Cancel url is not a valid URL”],”button”:{“code”:”56fec0f1543343b075ddab5b23669fa0?,”uuid”:”a10eee77-ae85-5cb9-bc2d-af52e36f257c”,”type”:”buy_now”,”subscription?”:false,”repeat”:null,”style”:”buy_now_large”,”text”:”Pay With Bitcoin”,”name”:”Order #2966?,”description”:””,”custom”:”2966?,”callback_url”:”https://boldarms.com/wc-api/WC_Gateway_Coinbase/?callback_secret=6260436a05b4b458ff26e57f3832aaae54219941?,”success_url”:”https://boldarms.com/checkout-2/order-received/2966?key=wc_order_5775fd2d9927e\u0026return_from_coinbase=1?,”cancel_url”:”https://boldarms.com/cart-2/?cancel_order=true\u0026return_from_coinbase=1\u0026cancelled=1\u0026order_key=wc_order_5775fd2d9927e#038;order=wc_order_5775fd2d9927e\u0026#038;order_id=2966\u0026#038;redirect”,”info_url”:null,”auto_redirect”:false,”auto_redirect_success”:false,”auto_redirect_cancel”:false,”price”:{“cents”:64000.0,”currency_iso”:”USD”},”variable_price”:false,”choose_price”:false,”include_address”:false,”include_email”:false}}’,
))
from coinbase-woocommerce.
What specific versions of Wordpress and Woocommerce? Need to spin up a test env to reproduce.
from coinbase-woocommerce.
WordPress 4.5.3
WooCommerce Version 2.6.2
On 7/4/2016 5:22 PM, Alex Ianus wrote:
What specific versions of Wordpress and Woocommerce? Need to spin up a
test env to reproduce.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATWNJkcLdDBgtP2yNNI0MTRlC4_r_nS6ks5qSaPDgaJpZM4JBwgK.
from coinbase-woocommerce.
Thank you, I was able to reproduce the error. It's definitely a bug in woocommerce and/or wordpress.
I've reported it to them directly: woocommerce/woocommerce#11355
In the meantime, you can install from the branch I linked to above as a workaround.
from coinbase-woocommerce.
Thank you. I really appreciate your effort.
Mark Rudder
602-539-BOLD
BOLDArms
On Jul 4, 2016, at 6:25 PM, Alex Ianus [email protected] wrote:
Thank you, I was able to reproduce the error. It's definitely a bug in woocommerce and/or wordpress.
I've reported it to them directly: woocommerce/woocommerce#11355
In the meantime, you can install from the branch I linked to above as a workaround.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from coinbase-woocommerce.
What about what this guy said?
Does it have a bearing on the issue?
_claudiosmweb https://github.com/claudiosmweb_commented13 hours ago
woocommerce/woocommerce#11355 (comment)
Not invalid, this returns a escape URL.
Seehttps://developer.wordpress.org/reference/functions/esc_url/
If you need an "unescaped" URL, you can
use|$order->get_cancel_order_url_raw()|.
Mark
On 7/4/2016 6:25 PM, Alex Ianus wrote:
Thank you, I was able to reproduce the error. It's definitely a bug in
woocommerce and/or wordpress.I've reported it to them directly: woocommerce/woocommerce#11355
woocommerce/woocommerce#11355In the meantime, you can install from the branch I linked to above as
a workaround.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATWNJj7_RiMoyxsMQuhE8lSMvfgOLvDTks5qSbKAgaJpZM4JBwgK.
from coinbase-woocommerce.
This is fixed as of 2.1.3
from coinbase-woocommerce.
Excellent.
Mark Rudder
602-539-BOLD
BOLDArms
On Jul 5, 2016, at 5:47 PM, Alex Ianus [email protected] wrote:
This is fixed as of 2.1.3
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from coinbase-woocommerce.
Related Issues (20)
- Sorry, but there was an error processing your order. Please try again or try a different payment method. HOT 6
- PHP Fatal Error in Coinbase HOT 3
- Error when checking out HOT 2
- Fatal Error HOT 1
- New update HOT 3
- Provide discount for people paying with Bitcoin HOT 1
- Error when checking out HOT 1
- DNS not pointed yet HOT 1
- Support for WP 4.4.2? HOT 1
- Sorry, but there was an error processing your order. Please try again or try a different payment method. HOT 11
- Massive Issue
- Gateway Showing timeout HOT 1
- Add support for coinbase Ethereum payments :) Pretty please? HOT 4
- Installation instructions don't work with API v2 HOT 1
- Woocommerce 3.0 API V2 & Oauth HOT 3
- Setup instructions not applicable to Multisites? HOT 2
- Getting error: Could not validate API Key: Status code 401 with WP 4.9 and woo-commerce Version 3.2.5 HOT 4
- Not compartible with the latest version of Wordpress HOT 3
- New Plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coinbase-woocommerce.