Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8736729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:21:54+00:00 2026-06-13T10:21:54+00:00

Here in the wordpress plugin Premium Press I have integrated payson payment gateway, but

  • 0

Here in the wordpress plugin Premium Press I have integrated payson payment gateway, but there is one small problem: the MD5 field is not being able to take in any values and not working. Please help me with this.

This is the code for taking input for MD5 values in a form:

<input type="hidden" name="MD5" value=" < ?php echo get_option('gateway_payson_receiver');('SellerEmail'); ('OkUrl'); ('GuaranteeOffered'); ('ExtraCost'); ('Cost'); ?>"/>

This is what have to be calculated in another file send.php:

 $MD5string = $SellerEmail . ":" . $Cost . ":" . $ExtraCost . ":" . $OkUrl . ":" . $GuaranteeOffered . $Key;
 $MD5Hash = md5($MD5string);

 ('ExtraCost'); ('Cost'); ?>"/>

I am trying to test it in: https://www.payson.se/testagent/default.aspx
But for MD5 its not calculating any values.

Please help me if possible.

Edit: I put the extra spaces after value=” and also inside < ?php because stackoverflow was not recognising the code and not displaying, that is not a problem. Inside the real code there is no space there.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:21:55+00:00Added an answer on June 13, 2026 at 10:21 am

    You don’t give many details, but I couldn’t help noticing this:

    ...me="MD5" value=" < ?php echo get_option('gateway_payson_receiver');('SellerEmail'); ('OkUrl'); ('GuaranteeOffered'); ('ExtraCost'); ('Cost'); ?>
    
    • There is an extra space after the open quote mark value=".
    • The code inside is not PHP, due to the space between < and ?, but text.
    • There are no separators and in the calculation you seem to use the : separator.

    According to the Payson page you supplied,

    MD5 – Obligatorisk – Du saknar alla parametrar för att beräkna MD5, du skall ha med: SellerEmail,Cost,ExtraCost,OkUrl,GuaranteeOffered samt din nyckel

    When you display that form, you should have already available the following variables:

    $SellerEmail
    $Cost
    $ExtraCost
    $OkUrl
    $GuaranteeOffered
    $Key
    

    and output a hidden form field like

    <input type="hidden" name="MD5" value="<?php echo md5("$SellerEmail:$Cost:$ExtraCost:$OkUrl:$GuaranteeOffered$Key"); ?>"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the situation: There's a WordPress plugin in place that enables a mobile-friendly theme
Here's my problem: I'm writing a WordPress plugin that helps budding CSS authors see
I've got this problem while developing a Wordpress plugin. Here's the code snippet of
I am modifying my PHP network's code to have user roles like wordpress here
I have configured WordPress to display a static front page as described here: http://codex.wordpress.org/Settings_Reading_SubPanel#Reading_Settings
Here's my situation. I have followed the exact instructions on wordpress codex page about
newbie here, so thanks in advance for help! I have a Wordpress site with
Here's the scenario: I'm building a Wordpress plugin to manage some survey research that
I have a three tables for my wordpress plugin. videos = id, name playlists
I'm trying to create a hook in one Wordpress plugin that could be used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.