Jump to content

Necessary parameter return syntax error.


Cipio

Recommended Posts

Hello. Community's everyone, I am trying to develop a payment gateway for WHMCS, and when I test in my development&testing environment, I will see the below errors after I try to click "Payment Gateway" under "Setting".

"$sdk_sign_cert_pwd" is used to typed into the merchant signature certification password, which is requested by the payment gateway provider. And this parmsparameter has been defined on the "public function yourmodulename_config".

Can anyone give me any clues? Thank you all.

```

Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

For additional assistance, please reference the WHMCS TroubleShooting Guide »

ParseError: syntax error, unexpected variable "$sdk_sign_cert_pwd" in /home/test.yoursite.tld/public_html/whmcs/modules/gateways/yourpaymentgateway.php:182
Stack trace:
#0 /home/test.yoursite.tld/public_html/whmcs/admin/configgateways.php(0): WHMCS\Module\Gateway->load()
#1 {main}
Link to comment
Share on other sites

On 2/26/2023 at 11:15 AM, Cipio said:

Hello. Community's everyone, I am trying to develop a payment gateway for WHMCS, and when I test in my development&testing environment, I will see the below errors after I try to click "Payment Gateway" under "Setting".

"$sdk_sign_cert_pwd" is used to typed into the merchant signature certification password, which is requested by the payment gateway provider. And this parmsparameter has been defined on the "public function yourmodulename_config".

Can anyone give me any clues? Thank you all.

```


Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

For additional assistance, please reference the WHMCS TroubleShooting Guide »

ParseError: syntax error, unexpected variable "$sdk_sign_cert_pwd" in /home/test.yoursite.tld/public_html/whmcs/modules/gateways/yourpaymentgateway.php:182
Stack trace:
#0 /home/test.yoursite.tld/public_html/whmcs/admin/configgateways.php(0): WHMCS\Module\Gateway->load()
#1 {main}

The error message changed now. It became like this:

Gateway Module Error: Configuration function ( _config ) not found in:

modules/gateways/chinauionpay.php
Link to comment
Share on other sites

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