Jump to content

No invoices associated with orders - Third party payment gateway


veehuu

Recommended Posts

Hi,

We have created a custom third party gateway module (called Vismapay) following this example -> https://github.com/WHMCS/sample-gateway-module.

Currently the process of ordering a service works as follows for a customer:

  1. Customer selects products/services to buy
  2. Goes through the ordering process with our custom payment gateway
  3. Checkout directs the customer to a third party website where he/she can choose a desired payment method
  4. After payment is successful, the customer is redirected to a paid invoice in WHMCS.

So this process seems to work since the services do activate for the users (auto registration/setup).

But, when you check the order from WHMCS admin area, 'Payment Status' says 'No Invoice Due'. A screenshot below shows the problem for Order 197:

 

ID desc.gif Order # Date Client Name Payment Method Total Payment Status Status  
198 8123508374 04/08/2022 11:45 Test User PayPal Basic 15,00 € Complete Pending Cancel & Delete
197 3972404749 04/08/2022 11:07 Test User Vismapay 15,00 € No Invoice Due Pending Cancel & Delete

 

And when you open the order, 'Invoice #' shows 'No Invoice'.

Date 04/08/2022 11:07 Payment Method Vismapay
Order # 3972404749 (ID: 197) Amount 15,00 €
Client Test User
Allastie 3
Helsinki, Uusimaa, 00560
Finland
Invoice # No Invoice

 

From the System Activity Log I get for Vismapay:

04/08/2022 11:45
Email Sent to Test User (Order Confirmation) - Client ID: 4
Client ID 4
testemail@email.com
Admin ID 2
xxxxxxxxxx
81.22.xxxxx
         
04/08/2022 11:45
Email Sent to Test User (Customer's Invoice) - Client ID: 4
Client ID 4
testemail@email.com
Admin ID 2
xxxxxxxxxxx
81.22.xxxxx
04/08/2022 11:45
Created Invoice - Invoice ID: 195
Client ID 4
testemail@email.com
Admin ID 2
xxxxxxxxxxx
81.22.xxxxx
04/08/2022 11:45
New Order Placed - Order ID: 198 - User ID: 4
Client ID 4
testemail@email.com
Admin ID 2
xxxxxxxxxxx
81.22.xxxxx

 

For PayPal Basic I get:

04/08/2022 11:46
Email Sent to Test User (Payment Confirmation) - Client ID: 4
Client ID 4
testemail@email.com
System/Automated
-
 
04/08/2022 11:46
Invoice Marked Paid - Invoice ID: 195
Client ID 4
testemail@email.com
System/Automated
-
 
04/08/2022 11:46
Added Invoice Payment - Invoice ID: 195
Client ID 4
testemail@email.com
System/Automated
-
 
04/08/2022 11:46
Added Transaction - Transaction ID: 127
Client ID 4
testemail@email.com
System/Automated
-

 

Any ideas or help on how to solve this? 

Link to comment
Share on other sites

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated