• Resolved uamv

    (@uamv)


    Hello! An error notification email was recently sent regarding a failed payment on the form here. The message indicated that the following errors were found:

    * x_amount : Payment amount is required.
    * x_line_item # 1 – Price is not a number
    * x_line_item invalid

    I contacted Payeezy support and they indicated that this would be a plugin issue. Can you advise regarding this issue? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rick Rottman

    (@rickrottman)

    Hi, the problem in this case is the amount (x_amount) isn’t being passed over to First Data. It’s the reason for the first error listed and the reason for the next two. Without an x_amount, the x_line_item will be invalid.

    I’m not sure how the transaction is being passed over without an amount. The plugin checks this for a valid entry with donations because the cardholder his given the option of entering their own amount. If they don’t select a predefined amount AND leave the custom amount field blank, they will be directed to return to the form and enter a valid amount.

    If you could send the URL of the published form, I can troubleshoot further. [email protected].

    I contacted Payeezy support and they indicated that this would be a plugin issue.

    They shouldn’t have told you this. They’re paid tech support. They owe you the professional responsibility to assist with troubleshooting this problem. As soon as they saw the request to the gateway was lacking an amount, they should have looked further into this. This is the root problem. Why did they immediately proclaim that the problem was with the plugin? There was no basis for saying this.

    Rant over. ??

    Thread Starter uamv

    (@uamv)

    Thanks for the response and insight into the error that occurred. You can find the form in question at https://troyersamishtours.com/payment/.

    Yeah, they didn’t give me anything, except to direct me to you. ??

    Plugin Author Rick Rottman

    (@rickrottman)

    The issue appears to be that customers are failing to enter an amount they want to pay before they click the “Pay Now” button. I’m pushing out an update to the plugin (v.2.81) that will resolve this. If someone tries to proceed to First Data without entering an amount, it will tell them to go back and enter an amount.

    I’ve made the changes to the plugin. I want to test it more before uploading it.

    Thread Starter uamv

    (@uamv)

    Thanks for your quick work, Richard! It is much appreciated! I’ll await v2.8.1.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in Form Submission (x_amount & x_line_item)’ is closed to new replies.