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