WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms DPS PxPay
[resolved] PxPay - invoice reference cannot be empty (9 posts)

  1. lpeditor
    Member
    Posted 1 year ago #

    Hi there - I'm using the Gravity Forms DPS PxPay plugin.

    I've created a test form, added our DPS account name and key.
    When I test the form and hit submit, I'm not taken to the DPS screen, and instead get:

    invoice reference cannot be empty.

    Is there some setting I'm missing to connect the test form to DPS?

    Thanks for your help - and great that you've put this plug in together. I've been looking for a form builder that connects to DPS for a while.

    Thanks,
    Dave Taylor.

    http://wordpress.org/extend/plugins/gravity-forms-dps-pxpay/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Dave, sorry for the delay in replying.

    When you set up a feed for your form, you need to select a field to map to the Merchant Reference. It can just be the form ID or title if you like, but Payment Express needs something in that field.

    Looks like I'll need to make that more explicit in the doco, and make the field mapping mandatory when you make the feed. Thanks for asking :)

    cheers,
    Ross

  3. lpeditor
    Member
    Posted 1 year ago #

    Hi Ross - thanks for getting back to me, much appreciated. I had linked a hidden field to Merchant Reference, but that must have been causing the issue. I changed it to field title and can now connect to the DPS payment screen.

    When I use the sandbox testing option with a dev account, I get the error: "The transaction was Declined (BQ)" after entering test credit card details into the DPS screen? Any idea what could be causing that - or should I try DPS support?

    Additionally, I still got the successful donation email (both to admin user and to test user) despite the DPS screen telling me that the transaction had been declined. I'd checked the boxes:

    Send admin notification only when payment is received

    Send user notification only when payment is received

    Create post only when payment is received

    Thanks!
    Dave.

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Dave,

    Odd, I just tried with a hidden field mapped to Merchant Reference and it succeeded. Did you set a value on the hidden field? Was it a calculated field or otherwise dynamically populated?

    Regarding the transaction declined message, do you get the same error if you put your dev account details into the User ID / User Key fields and try? By test credit card details, I presume you mean something like 4111111111111111 as the credit card number (which is what you need to use in the sandbox). If you do all of that, and still get that error, then you'll need to discuss with DPS.

    If it works with your dev account details but not when Sandbox is selected and your dev details in Test ID / Test Key, then let me know because it might be a bug. It works for me, and for Andrew (sponsor), however.

    Regarding the notifications, I'm not seeing that here. Can you please export your GF form as XML (under Forms>Import/Export>Export Forms) and email to me? (see my contact page)

    cheers,
    Ross

  5. lpeditor
    Member
    Posted 1 year ago #

    Hello Ross - thanks again for getting back to me.

    I hadn't set a value to the hidden field. I set a default value and that seems to work fine.

    I used the Dev account details as User Id / User Key, and turned sandbox off. I still got the following error after performing a test:

    Response DECLINED
    The transaction was Declined (BQ)
    Description Cost centre 8552

    (The description is the Merchant Reference hidden field I set).

    So looks like I need to contact DPS? Is there a particular DPS account type we need to have in order for the plug-in to work?

    Thanks again,
    Dave.

  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Dave,

    This plugin works with Payment Express' PxPay, so you need to have an account configured for that. Please check with DPS.

    Another thing that occurs to me is that maybe your account is already configured for production, so you won't be able to use it for testing with the fake card number 4111111111111111. Check that with DPS too. If that's the case, just ask them for a developer account so that you can do some testing.

    cheers,
    Ross

  7. lpeditor
    Member
    Posted 1 year ago #

    Thanks Ross - I'll get in touch with them. We definitely have a dev account, so that part shouldn't be an issue. I'll ask them for more info about the error code too, might shed some light.

    Cheers,
    Dave.

  8. lpeditor
    Member
    Posted 1 year ago #

    Hi Ross - apologies for not replying sooner. I contacted DPS and the error was at their end. They fixed it and I have everything working now. So thanks very much for your help - it's appreciated.

    Cheers,
    Dave.

  9. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    No worries, glad it was resolved.

    cheers,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.