Darren

Results 19 comments of Darren

The PR looks good and the changes are working correctly. Let's revert the changes in order.css as this file should not change between integrations and has been designed to inherit...

Hi @jozefpinter I am having success using the below code: ``` /* Blockonomics Rewrite Rules */ add_action('init', 'blockonomics_rewrite_rules'); function blockonomics_rewrite_rules() { add_rewrite_rule( 'crypto/?$', 'index.php?wc-api=WC_Gateway_Blockonomics', 'top' ); } ``` You will...

In the callback file [here](https://github.com/blockonomics/woocommerce-plugin/blob/master/php/WC_Gateway_Blockonomics.php#L142), we can add the following line: `$order_url = str_replace('wc-api/WC_Gateway_Blockonomics', 'crypto', $order_url);` This will now redirect the users to the new URL during the checkout process....

@jozefpinter, Could you verify the above changes are working correctly for you as well? We are assessing this option further for possible inclusion into a later release. Thank you for...

As we are still assessing the viability and compatibility of the changes for all our users, this integration will require more testing before being applied to plugin releases. If you...

You are welcome to download the plugin with the above changes included from here: https://github.com/blockonomics/woocommerce-plugin/tree/custom-url-routes or edit the plugin from the Wordpress Plugin Editor: ![Edit Plugins ‹ Wordpress — WordPress](https://user-images.githubusercontent.com/39666372/66437439-041c4b80-ea2a-11e9-95fa-fa81efa46c6e.png)

@jozefpinter Both snippets of code need to be applied for this change to work as desired. 1) The `add_rewrite_rule` must be added, which you mention was working correctly to display...

Could you also visit Wordpress Dashboard > Settings > Permalink > and Click Save Changes. This will [flush rewrite rules](https://codex.wordpress.org/Function_Reference/flush_rewrite_rules) for your website, in case other changes you may have...

Thank you @jozefpinter for assisting in testing this feature.

- Confirmed plugin is not being initialized multiple times and that the paypal module also has additional calls. eg from /wp-cron.php. - We appear to be using the correct hooks:...