Adam Kent
Forum Replies Created
-
Apologies – I have found this issue – this is caused by CookieBot where a user declines the cookies. Is there any way round this?
Forum: Plugins
In reply to: [Instant Bank Payments via GoCardless for WooCommerce] Testing on localhost?Hi Jon, did you get this part working? Thanks
Hi Jon, sorry for my slow reply. No problem – I’ve scheduled these into the next release (within the next few weeks). Thanks
Hi Jon, in theory I think this could work, but I would be very careful in terms of the security implications with this. I can add in filters as part of the next deployment if you’re able to please confirm which filters you require. Thanks.
Forum: Plugins
In reply to: [Instant Bank Payments via GoCardless for WooCommerce] Testing on localhost?Hi, thanks for your query. Test payment should work in a local environment (it does for me). Note that the webhooks won’t unless you open your server & router to incoming http requests (not suggested). There’s a multitude of factors that could be effecting the issue that you face, but it’s going to be related to your environment configuration if the same setup works in your live environment. The error you are seeing is suggesting that the request to gocardless is being timed out – this is likely due to security configuration in your environment. Please check that you are running in test mode, and in your browser open the network tab and then try a payment – check for errors / response headers in the pre-flight request to GoCardless. This should help you diagnose the issue. Thanks.
I am marking this as resolved as I have verified that it is working on your site. Thanks.
I have tested on your site and it is now working. When you click place order you will see the GoCardless modal appear where customers can pay for their order yes. It uses open banking not card payments. The user enters their bank account number and sort code. The payment clears instantly unlike a card payment and reduces card fraud as it usually requires a quick authorsation through their banking app or similar.
- This reply was modified 2 years, 10 months ago by Adam Kent.
I have tested on your site again, and you are still getting the below error. It’s due to the permissions attached with the api key you have setup in gocardless. Please contact their support and share the below error with them along with the api keys that you are using:
BR setup response: {“paymentAmount”:799,”currency”:”GBP”,”paymentDescription”:”Nduja squeeze – 100g”,”mode”:”sandbox”,”status”:”error”,”error”:{“message”:”Insufficient permissions”,”errors”:[{“reason”:”insufficient_permissions”,”message”:”Insufficient permissions”}],”documentation_url”:”https:\/\/developer.gocardless.com\/api-reference#insufficient_permissions”,”type”:”invalid_api_usage”,”request_id”:”82D3028CC310_0A1403DE1F92_64CA9949_145E0001″,”code”:403}}When this error is resolved – upon clicking the place order button a pop-up will appear allowing the user to enter their bank details to make the payment. Please note that is plugin is for taking instant bank payments, not card payments. Thanks.
- This reply was modified 2 years, 10 months ago by Adam Kent.
Hi, I’ve had a look and you’re getting the below error. This is due to the api access key that you have created in GoCardless portal not having correct permissions. Please try to recreate the API keys in GoCardless portal and update them in the plugin backend. Please ensure that you are not using the test version of the gocardless portal, and also have the plugin not in test mode. If the problem persists, please contact gocardless support directly with the below error and they will be able to assist in setting up api keys with the correct permissions. Thanks.
insufficient_<wbr>permissionsThe access token you are using does not have the right scope to perform the requested action.Hi, can you please confirm where this error is being shown? Is this in the browser console or on the page? Is this the full error? Please provide as much information as possible. Please also confirm your php version. Thanks.
Good to hear you got it working, and yes I do agree. The modal itself is hosted by GoCardless, so unfortunately we can’t make direct changes to the content modal. I will pass on the feedback next time we speak to them. Thanks.
The options you see in the screenshot are buttons to select the payment outcome (as a test) e.g. if you click one of the green button options such as read refund account – it allows you to test a successful payment, if you click bank down or one of the fail payment options it allows you to simulate a failed payment. In live mode these options will not be visible and the customer will select their bank account and then enter their bank details.
Hi, apologies for the slow reply. Please ensure that you have test mode turned off in Woocommerce – settings – payments – instant bank pay. Check that test mode checkbox is disabled and that you have added your live API keys. The screenshot you’ve provided shows it in test mode. Thanks.
Closing thread.
Hi, we haven’t heard back from you for a while so I’m going to close this thread. Please reach out again if you experience further issues. Thanks.