Help with test invoice and tokens

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4158

    [email protected]
    Buyer
    Post count: 82

    I would like to test that the invoice plugin is working well. Refering to this page https://wpinvoicing.com/docs/gateways/gocardless/ I checked “Active” and “Enable Test Mode” in Invoicing > Settings > Payment Gateway > Go Cardless. For the token fields I made up a token called TOKENTEST and and TOKENSECRET.

    I raised an invoice for myself. I sent myself an email. I opened the invoice in the email and clicked View/Pay. It didn’t offer anywhere to insert the tokens. It took me to checkout but then when I tried to pay it said:

    Error: API call failed:The access token you’ve used is not a valid sandbox API access token

    What am I doing wrong please? (PS sorry if I’ve sent his ticket already but can’t see the other one in Support History)

    #4160

    Alex Rollin
    Moderator
    Post count: 27815

    You will need a GoCardless account, and you can get the tokens from the settings in your GoCardless account.

    #4216

    [email protected]
    Buyer
    Post count: 82

    Hi, I already have a GoCardless account.

    On the GD side, it seems I have created a token and I have inputted this. But I don’t know what to put into Live Token or Webhook Secret.

    On the GoCardless sideless, they are asking for the following (see screenshot)

    Name*
    URL
    Secret
    Certificate (if I enable this it asks to paste PEM-encoded TSL client certificate and private key)

    I asssume the URL is the one already populated in Invoice > Settings > Payment Gateway > GoCardless. But what should I input into the Name, Secret and Certificate?

    Can you help with this or do you think I need to hire a developer to get my GD Invoicing plugin setup?

    Thanks

    #4219

    Alex Rollin
    Moderator
    Post count: 27815

    The URL is for the webhook URL, which is shown in your GoCardless settings on your site.

    You do not need the PEM, that is for mobile.

    Is the secret enabled and required? If not you don’t need it.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket