veda-consulting / uk.co.vedaconsulting.payment.gocardlessdd

1 stars 7 forks source link

Legacy API? #9

Closed petednz closed 8 years ago

petednz commented 8 years ago

Trying to set this up for a client. In the GoCardless interface there was no option similar to that shown at http://www.vedaconsulting.co.uk/gocardless. Their reply was The credentials required by civicrm are for our legacy API, you’re currently using our new API. I’ve attached the necessary credentials in a zip file to this email. For security reasons the file is password protected. We are able to provide this password over the phone, if you give us a ring under 020 7183 8674. Additionally, if you need to set a redirect or cancel URI please let us know in a reply to this email and we’ll get these settings updated for you.

So questions: 1/ is there a plan for using their new API 2/ does the documentation need updating to warn others 3/ do i need to set a redirect or cancel URL

Thanks for your support on this.

Kajakaran commented 8 years ago

@petednz

You are right. If you are a new customer to GoCardless then the current extension will not support. We will release next week for support for new API.

Thanks

petednz commented 8 years ago

Hi - thank you for that advice and do you have any update for the ETA for the new API?

Kajakaran commented 8 years ago

@petednz

It is still in our queue, not implemented yet. However for new gocardless user, old style credentials(App Identifier, App Secrets, Merchant Access token, Merchant Id) can be obtained for the account by emailing Gocardless help until develop new API.

I am attaching reply from gocardless here. "Hey Kajan,

Could you let me know the email address for the current account you’re logged in to.

It looks like your integration is with our V1 API. We should be able to send you over the old style developer credentials for your account. You won’t be able to retrieve this from the V2 dashboard.

Kind regards,

Lewis"

Thanks Kajan

Kajakaran commented 8 years ago

@petednz

The new releases for ukdirectdebit and gocardlessdd extension have been done. https://github.com/veda-consulting/uk.co.vedaconsulting.payment.ukdirectdebit/releases/tag/v2.3.7 https://github.com/veda-consulting/uk.co.vedaconsulting.payment.gocardlessdd/releases/tag/2.1

Please feedback us Thanks

petednz commented 8 years ago

keen to try - but does the documentation at http://www.vedaconsulting.co.uk/gocardless need a variation to explain process. eg i just tried and seems i am seeing same interface as before with fields for API ID and API Secret as well as Merchant ID and Access Token - but only the latter is what I seem to get from gocardless - can you clarify. thanks. I don't recall seeing any 'upgrade database' alerts. I ran drush cvupdb in case. this is a site on 4.6.x - is that an issue?

Kajakaran commented 8 years ago

@petednz

The latest release of this extension is purely for new gocardless customers as they will not get API ID, API Secret, Merchant ID and Access Token from their gocardless developer dashboard and this release(2.1) uses new gocardless pro api.

For your case to work(you have old version of extension installed and you are new gocardless user), you have to uninstall the extension and update code base with latest release(2.1) and install again.

We will update documentation in the mean time.

Thanks Kajan

petednz commented 8 years ago

I see i didn't make it clear, but prior to my last comment i did the following:

At that point my extensions says

When i add Payment Process and select Gocardless, i still see the following fields: API ID, API Secret, Merchant ID etc.

I have cleared civi caches and rm the templates_c to be certain that isn't the issue

So it seems like i am seeing all the old fields still. Can you screenshot me what I should be seeing? screen shot 2016-05-23 at 10 57 30 am screen shot 2016-05-23 at 10 57 42 am

Kajakaran commented 8 years ago

@petednz

You should be seeing screenshot as in the readme of this extension.

https://github.com/veda-consulting/uk.co.vedaconsulting.payment.gocardlessdd/blob/master/README.md

From your comments what I can understand is you just disabled the gocardeless extension and you did not uninstall the extension as this is purely for new gocardless customers who did not have installed our old extension before.

Follow these steps.

The steps you followed for UK Direct Debit extension is fine.

Thanks Kajan

petednz commented 8 years ago

Those are the exact steps I used, but i will repeat as clearly something hasn't permitted the update.

petednz commented 8 years ago

Thanks - i stils can't see what failed last time I uninstalled, and it was telling me it was on 2.1 but reworking all steps has given me new interface. thanks

artfulrobot commented 8 years ago

Looks like this could be closed?

deepak-srivastava commented 8 years ago

Yep, closing.