{"action":"created","issue":{"url":"https://api.github.com/repos/coinbase/coinbase-woocommerce/issues/29","repository_url":"https://api.github.com/repos/coinbase/coinbase-woocommerce","labels_url":"https://api.github.com/repos/coinbase/coinbase-woocommerce/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/coinbase/coinbase-woocommerce/issues/29/comments","events_url":"https://api.github.com/repos/coinbase/coinbase-woocommerce/issues/29/events","html_url":"https://github.com/coinbase/coinbase-woocommerce/issues/29","id":163071049,"number":29,"title":"Sorry, but there was an error processing your order. Please try again or try a different payment method.","user":{"login":"jeffa95","id":20217231,"avatar_url":"https://avatars.githubusercontent.com/u/20217231?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffa95","html_url":"https://github.com/jeffa95","followers_url":"https://api.github.com/users/jeffa95/followers","following_url":"https://api.github.com/users/jeffa95/following{/other_user}","gists_url":"https://api.github.com/users/jeffa95/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffa95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffa95/subscriptions","organizations_url":"https://api.github.com/users/jeffa95/orgs","repos_url":"https://api.github.com/users/jeffa95/repos","events_url":"https://api.github.com/users/jeffa95/events{/privacy}","received_events_url":"https://api.github.com/users/jeffa95/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-30T02:59:28Z","updated_at":"2016-07-06T03:35:02Z","closed_at":"2016-07-06T00:00:30Z","body":"Hi,\r\n\r\nI get the error \"Sorry, but there was an error processing your order. Please try again or try a different payment method.\" when attempting to checkout. I've made sure I linked merchant/user via the V1 API and filled out my merchant profile. Is there anything I'm missing?\r\n\r\nHere is the info on the order note:\r\n\r\n`\r\nError while processing coinbase payment: Coinbase_ApiException::__set_state(array(\r\n‘message’ => ‘Cancel url is not a valid URL’,\r\n‘string’ => ”,\r\n‘code’ => 0,\r\n‘file’ => ‘/var/www/html/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Rpc.php’,\r\n‘line’ => 109,\r\n‘trace’ =>\r\narray (\r\n0 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Coinbase.php’,\r\n‘line’ => 69,\r\n‘function’ => ‘request’,\r\n‘class’ => ‘Coinbase_Rpc’,\r\n‘type’ => ‘->’,\r\n‘args’ =>\r\narray (\r\n0 => ‘POST’,\r\n1 => ‘buttons’,\r\n2 =>\r\narray (\r\n‘button’ =>\r\narray (\r\n‘name’ => ‘Order #1319’,\r\n‘price_string’ => 80,\r\n‘price_currency_iso’ => ‘USD’,\r\n‘callback_url’ => ‘https://www.mydomain.com/wc-api/WC_Gateway_Coinbase/?callback_secret=2f81359baae6d423cbd0681c860e24ecf4421920’,\r\n‘custom’ => 1319,\r\n‘success_url’ => ‘https://www.mydomain.com/checkout/order-received/1319?key=wc_order_57748828a0f39&return_from_coinbase=1’,\r\n‘cancel_url’ => ‘https://www.mydomain.com/cart/?cancel_order=true&return_from_coinbase=1&cancelled=1&order_key=wc_order_57748828a0f39#038;order=wc_order_57748828a0f39&order_id=1319&redirect’,\r\n),\r\n),\r\n),\r\n),\r\n1 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Coinbase.php’,\r\n‘line’ => 208,\r\n‘function’ => ‘post’,\r\n‘class’ => ‘Coinbase’,\r\n‘type’ => ‘->’,\r\n‘args’ =>\r\narray (\r\n0 => ‘buttons’,\r\n1 =>\r\narray (\r\n‘button’ =>\r\narray (\r\n‘name’ => ‘Order #1319’,\r\n‘price_string’ => 80,\r\n‘price_currency_iso’ => ‘USD’,\r\n‘callback_url’ => ‘https://www.mydomain.com/wc-api/WC_Gateway_Coinbase/?callback_secret=2f81359baae6d423cbd0681c860e24ecf4421920’,\r\n‘custom’ => 1319,\r\n‘success_url’ => ‘https://www.mydomain.com/checkout/order-received/1319?key=wc_order_57748828a0f39&return_from_coinbase=1’,\r\n‘cancel_url’ => ‘https://www.mydomain.com/cart/?cancel_order=true&return_from_coinbase=1&cancelled=1&order_key=wc_order_57748828a0f39#038;order=wc_order_57748828a0f39&order_id=1319&redirect’,\r\n),\r\n),\r\n),\r\n),\r\n2 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-content/plugins/coinbase-woocommerce/coinbase-woocommerce.php’,\r\n‘line’ => 216,\r\n‘function’ => ‘createButtonWithOptions’,\r\n‘class’ => ‘Coinbase’,\r\n‘type’ => ‘->’,\r\n‘args’ =>\r\narray (\r\n0 =>\r\narray (\r\n‘name’ => ‘Order #1319’,\r\n‘price_string’ => 80,\r\n‘price_currency_iso’ => ‘USD’,\r\n‘callback_url’ => ‘https://www.mydomain.com/wc-api/WC_Gateway_Coinbase/?callback_secret=2f81359baae6d423cbd0681c860e24ecf4421920’,\r\n‘custom’ => 1319,\r\n‘success_url’ => ‘https://www.mydomain.com/checkout/order-received/1319?key=wc_order_57748828a0f39&return_from_coinbase=1’,\r\n‘cancel_url’ => ‘https://www.mydomain.com/cart/?cancel_order=true&return_from_coinbase=1&cancelled=1&order_key=wc_order_57748828a0f39#038;order=wc_order_57748828a0f39&order_id=1319&redirect’,\r\n),\r\n),\r\n),\r\n3 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php’,\r\n‘line’ => 663,\r\n‘function’ => ‘process_payment’,\r\n‘class’ => ‘WC_Gateway_Coinbase’,\r\n‘type’ => ‘->’,\r\n‘args’ =>\r\narray (\r\n0 => 1319,\r\n),\r\n),\r\n4 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php’,\r\n‘line’ => 472,\r\n‘function’ => ‘process_checkout’,\r\n‘class’ => ‘WC_Checkout’,\r\n‘type’ => ‘->’,\r\n‘args’ =>\r\narray (\r\n),\r\n),\r\n5 =>\r\narray (\r\n‘function’ => ‘checkout’,\r\n‘class’ => ‘WC_AJAX’,\r\n‘type’ => ‘::’,\r\n‘args’ =>\r\narray (\r\n0 => ”,\r\n),\r\n),\r\n6 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-includes/plugin.php’,\r\n‘line’ => 525,\r\n‘function’ => ‘call_user_func_array’,\r\n‘args’ =>\r\narray (\r\n0 =>\r\narray (\r\n0 => ‘WC_AJAX’,\r\n1 => ‘checkout’,\r\n),\r\n1 =>\r\narray (\r\n0 => ”,\r\n),\r\n),\r\n),\r\n7 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php’,\r\n‘line’ => 82,\r\n‘function’ => ‘do_action’,\r\n‘args’ =>\r\narray (\r\n0 => ‘wc_ajax_checkout’,\r\n),\r\n),\r\n8 =>\r\narray (\r\n‘function’ => ‘do_wc_ajax’,\r\n‘class’ => ‘WC_AJAX’,\r\n‘type’ => ‘::’,\r\n‘args’ =>\r\narray (\r\n0 => ”,\r\n),\r\n),\r\n9 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-includes/plugin.php’,\r\n‘line’ => 525,\r\n‘function’ => ‘call_user_func_array’,\r\n‘args’ =>\r\narray (\r\n0 =>\r\narray (\r\n0 => ‘WC_AJAX’,\r\n1 => ‘do_wc_ajax’,\r\n),\r\n1 =>\r\narray (\r\n0 => ”,\r\n),\r\n),\r\n),\r\n10 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-includes/template-loader.php’,\r\n‘line’ => 12,\r\n‘function’ => ‘do_action’,\r\n‘args’ =>\r\narray (\r\n0 => ‘template_redirect’,\r\n),\r\n),\r\n11 =>\r\narray (\r\n‘file’ => ‘/var/www/html/wp-blog-header.php’,\r\n‘line’ => 19,\r\n‘args’ =>\r\narray (\r\n0 => ‘/var/www/html/wp-includes/template-loader.php’,\r\n),\r\n‘function’ => ‘require_once’,\r\n),\r\n12 =>\r\narray (\r\n‘file’ => ‘/var/www/html/index.php’,\r\n‘line’ => 17,\r\n‘args’ =>\r\narray (\r\n0 => ‘/var/www/html/wp-blog-header.php’,\r\n),\r\n‘function’ => ‘require’,\r\n),\r\n),\r\n‘previous’ => NULL,\r\n‘http_code’ => 200,\r\n‘response’ => ‘{“success”:false,”errors”:[“Cancel url is not a valid URL”],”button”:{“code”:”c4c457cf74d6c15847b45a91f97cfd8a”,”uuid”:”ccfd466c-356d-58a1-a5e8-59a28f64182d”,”type”:”buy_now”,”subscription?”:false,”repeat”:null,”style”:”buy_now_large”,”text”:”Pay With Bitcoin”,”name”:”Order #1319″,”description”:””,”custom”:”1319″,”callback_url”:”https://www.mydomain.com/wc-api/WC_Gateway_Coinbase/?callback_secret=2f81359baae6d423cbd0681c860e24ecf4421920″,”success_url”:”https://www.mydomain.com/checkout/order-received/1319?key=wc_order_57748828a0f39\\u0026return_from_coinbase=1″,”cancel_url”:”https://www.mydomain.com/cart/?cancel_order=true\\u0026return_from_coinbase=1\\u0026cancelled=1\\u0026order_key=wc_order_57748828a0f39#038;order=wc_order_57748828a0f39\\u0026#038;order_id=1319\\u0026#038;redirect”,”info_url”:null,”auto_redirect”:false,”auto_redirect_success”:false,”auto_redirect_cancel”:false,”price”:{“cents”:8000.0,”currency_iso”:”USD”},”variable_price”:false,”choose_price”:false,”include_address”:false,”include_email”:false}}’,\r\n‘xdebug_message’ => ‘\r\n( ! ) Coinbase_ApiException: Cancel url is not a valid URL in /var/www/html/wp-content/plugins/coinbase-woocommerce/coinbase-php/Coinbase/Rpc.php on line 109 Call Stack # Time Memory Function Location 1 0.0001 249264 {main}( ) …/index.php:0 2 0.0001 249704 require( ‘/var/www/html/wp-blog-header.php’ ) …/index.php:17 3 0.0845 6411488 require_once( ‘/var/www/html/wp-includes/template-loader.php’ ) …/wp-blog-header.php:19 4 0.0845 6411536 do_action( ) …/template-loader.php:12 5 0.0849 6418992 call_user_func_array:{/var/www/html/wp-includes/plugin.php:525}\r\n( ) …/plugin.php:525 6 0.0849 6419104 WC_AJAX::do_wc_ajax( ) …/plugin.php:525 7 0.0850 6420328 do_action( ) …/class-wc-ajax.php:82 8 0.0851 6421864 call_user_func_array:{/var/www/html/wp-includes/plugin.php:525}\r\n( ) …/plugin.php:525 9 0.0851 6421968 WC_AJAX::checkout( ) …/plugin.php:525 10 0.0891 6560728 WC_Checkout->process_checkout( ) …/class-wc-ajax.php:472 11 0.1517 6981424 WC_Gateway_Coinbase->process_payment( ) …/class-wc-checkout.php:663 12 0.1598 7070576 Coinbase->createButtonWithOptions( ) …/coinbase-woocommerce.php:216 13 0.1598 7070976 Coinbase->post( ) …/Coinbase.php:208 14 0.1598 7071408 Coinbase_Rpc->request( ) …/Coinbase.php:69\r\n\r\n‘,\r\n))\r\n`\r\n\r\nI appreciate your assistance."},"comment":{"url":"https://api.github.com/repos/coinbase/coinbase-woocommerce/issues/comments/230663339","html_url":"https://github.com/coinbase/coinbase-woocommerce/issues/29#issuecomment-230663339","issue_url":"https://api.github.com/repos/coinbase/coinbase-woocommerce/issues/29","id":230663339,"user":{"login":"MarcoBOLD","id":20286758,"avatar_url":"https://avatars.githubusercontent.com/u/20286758?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoBOLD","html_url":"https://github.com/MarcoBOLD","followers_url":"https://api.github.com/users/MarcoBOLD/followers","following_url":"https://api.github.com/users/MarcoBOLD/following{/other_user}","gists_url":"https://api.github.com/users/MarcoBOLD/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoBOLD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoBOLD/subscriptions","organizations_url":"https://api.github.com/users/MarcoBOLD/orgs","repos_url":"https://api.github.com/users/MarcoBOLD/repos","events_url":"https://api.github.com/users/MarcoBOLD/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoBOLD/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T03:35:02Z","updated_at":"2016-07-06T03:35:02Z","body":"Excellent. \n\nMark Rudder\n602-539-BOLD\nBOLDArms \n\n> On Jul 5, 2016, at 5:47 PM, Alex Ianus <notifications@github.com> wrote:\n> \n> This is fixed as of 2.1.3\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"MarcoBOLD"}}