Integration testing / Test Mode, how to's

Hi all, and sorry in advance for newb questions.

The main question is about how do i run test transactions, but i will outline some details below

I am at the stage where i have integrated the SDK-php.
I am only using the basics for now of : create customer (if does not exist) and create invoice.
This all works fine with my checkout pages.

I am using PayPal and GoCardless, which give the invoice payment options of:
Bank Transfer / Direct Debit
SERP Direct Debit
Instant Bank Pay
PayPal
Credit Card
(i have set both payment options to Test Mode)

I have created 1 webhook of
Create Payment, which uses the url of Give yourself a better website » MY DOMAIN

Problems / Questions
When i try to make a payment, using any method, i get an error, while either payment option is set to test mode. I do have a developer account on PayPal and a Test Mode account, but i am unable to edit the PayPal Gateway details to use the test mode account ID, etc.

So the question is: how do i test the webhook (or webhooks if i need multiple ones) for create payment, as i need my server to know when an order is placed (note, we sell services that are delivered instantly on payment. so it would be ideal if a server to server message was sent).

In addition for the webhooks, is there any authentication methods i can use for this.
I see i can add HTTP headers, so i could have an initial server to server connection made, that would return “the key”, before other webhooks are accepted. I cannot see any way of doing this nor find anything in the documentation

Sorry for the silly question, that may take a longer answer than anyone would like to offer. However i cannot find anywhere in the documentation about testing the integration.
Maybe i am trying to use Invoice Ninja, not what it is intended to do.
I am using it as an optional payment, along side Credit/Debit Cards & Crypto (although i dont think the crypto will be used).
Some cusomers prefer bank transfer, direct debits or recuring invoice billing. Hence why i am using invoice ninja

Any help would be gratefully appreciated

Thanks
Jon

Hi,

I believe you can create a manual payment to test the webhook.

Thank you Hillel for all your replies.

I have considered making “real” transactions (is this what you mean by manual payments?)
My issue, is 1 i like things to be perfect, and as a code that has not worked with invoice ninja integration before. i am unlikely to get things correct for all types of payments the first time. i will just maybe try with £1 per time…

I have also been researching and wonder if i should be using a self hosted version of GitHub - invoiceninja/invoiceninja: Invoices, Expenses and Tasks built with Laravel, Flutter and React
and not the SDK-php kit

I have cloned a copy of the GitHub - invoiceninja/invoiceninja: Invoices, Expenses and Tasks built with Laravel, Flutter and React project to my servers, so will have a play around with this over the next few days to see if it is more suitable to my needs?

Thanks again
Jon