fatbeehive
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Bug: REST request error during installHaving the same issue here when setting up on a new site
Hi there,
We’ve updated the plugin to fix the issue that caused a single payment rather than a recurring subscription to be created.
Thanks
StuartForum: Plugins
In reply to: [FB GoCardless Hosted for Gravity Forms] Some bugs on my test installationHi Mark,
Thanks for flagging this with us and fixing the bugs you encountered.
We’ll take a look through your changes this week and look to merge them in ASAP.
Thanks again,
StuartForum: Plugins
In reply to: [Account Engagement] Pardot API Class – Protected instead of PrivateSounds good thank you!
I suppose an alternative if you really want to keep that locked down is to add filters before the request.
So in https://plugins.trac.wordpress.org/browser/pardot/trunk/includes/pardot-api-class.php#L430 this:
$http_response = wp_remote_request( $this->_get_url( $item_type, $args ), array_merge( array( 'timeout' => '30', 'redirection' => '5', 'method' => 'POST', 'blocking' => true, 'compress' => false, 'decompress' => true, 'sslverify' => false, 'body' => $args ), $args ) );Could become this:
$url = $this->_get_url( $item_type, $args ); $args = array_merge( array( 'timeout' => '30', 'redirection' => '5', 'method' => 'POST', 'blocking' => true, 'compress' => false, 'decompress' => true, 'sslverify' => false, 'body' => $args ), $args ); $url = apply_filters( 'pardot_api_request_url', $url, $item_type ); $args = apply_filters( 'pardot_api_request_args', $args, $item_type ); $http_response = wp_remote_request( $url, $args ); .... $response = apply_filters( 'pardot_api_request_url', $response, $item_type );Happy to submit that as a patch if it’s easier for you.
Forum: Plugins
In reply to: [Account Engagement] Pardot API Class – Protected instead of PrivateNote that as ‘_get_url()’ calls ‘_get_version()’, can you please make both protected instead