Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter wpnicknz

    (@wpnicknz)

    I created a brand new WP 4.3 single installation, added current Gravity Forms and DPS plugins only, created a form with only a name field, an admin only post_body field and one product. Set up DPS feed in Sandbox mode with the first three options enabled (only on success) and got duplicate posts.

    Please confirm you can replicate. If not, reply to my email I sent on your site and I’ll send you the details of this test site. This is all that’s holding up my testing and launch.

    Thank you.

    Thread Starter wpnicknz

    (@wpnicknz)

    Just for my own sanity, have you been able to reproduce my issue?
    I think changing the options in the feed has some effect too.

    Nick

    Thread Starter wpnicknz

    (@wpnicknz)

    Thanks so much Ross!

    Hmm, I have pingbacks and comments closed. Is that posing an issue as well?

    Cheers,
    Nick

    Thread Starter wpnicknz

    (@wpnicknz)

    Hi, I’ve even deleted the whole site (it’s a multisite), dropped all the DB tables then built the form from scratch and I still get duplicates. I added some logging and see the below on the duplicate (has -2 in the slug);

    Author Guest
    IP 103.232.204.102
    Type Post

    The IP is not mine or the server’s but traces to Payment NZ. Also forms are only visible to authenticated users.

    Please offer some assistance. Do you require payment?

    Nick

    Thread Starter wpnicknz

    (@wpnicknz)

    I take that back. Duplicates are being created on twenty twelve as well.

    Cheers.

    Thread Starter wpnicknz

    (@wpnicknz)

    I’ve got it checking for empty authcode, thanks. Problem now is if I refresh the page with the returned DPS query string, it re-runs the confirmation hook.

    Any ideas there?

    Thread Starter wpnicknz

    (@wpnicknz)

    Thanks for the quick response Ross!

    I have a function that creates posts etc that I want to kick off but only if payment was successful. It was using gform_after_submission, but now this runs too early, so I’m just calling the function through gfdpspxpay_process_confirmation_parsed and it works perfectly, except that it also works when cancelled.

    I see what you mean, but do I get it out of the entry meta or can it be accessed through the gfdpspxpay_process_confirmation_parsed hook?

    Cheers.

    Thread Starter wpnicknz

    (@wpnicknz)

    Haha yes,

    But is there a way to stop it firing after clicking cancel on the DPS page?

    Cheers,
    Nick

    Thread Starter wpnicknz

    (@wpnicknz)

    EDIT

    I see you’ve provided some custom hooks that fire on successful payment. But gfdpspxpay_process_confirmation and gfdpspxpay_process_return still fire when payment cancelled.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)