• Resolved njbair

    (@njbair)


    We’re using PCI Vault as part of a quote-to-purchase process. I want to provide customers with a link to a WP page that includes their quote reference ID as a URL query parameter.

    I would like the PCI Vault capture form to send that Quote ID as custom post data along with the card info.

    Upon success, I would like to have access to a JavaScript callback that can read the PCI Vault token ID and reference. I can use this callback to initiate the rest of the purchase process via a third-party API.

    Thank you in advance for any help you can provide.

Viewing 1 replies (of 1 total)
  • Plugin Author PCI Vault

    (@pcivault)

    Hi @njbair

    Thank you for your feedback. Our PCD form has been designed to do exactly this. We have now updated our plugin to version 1.1.0, this allows you to specify the PCD form’s JavaScript arguments with WordPress’s shortcode attributes.

    Using these shortcode attributes you can specify a JavaScript callback for when the data has been successfully stored, and you can specify extra data to be sent along with the POST.

    Please let us know if you need more assistance.

    Kind Regards,
    Dave

Viewing 1 replies (of 1 total)
  • The topic ‘Custom post data & custom callbacks’ is closed to new replies.