Title: Custom post data &amp; custom callbacks
Last modified: December 8, 2022

---

# Custom post data & custom callbacks

 *  Resolved [njbair](https://wordpress.org/support/users/njbair/)
 * (@njbair)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-post-data-custom-callbacks/)
 * 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](https://wordpress.org/support/users/pcivault/)
 * (@pcivault)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/custom-post-data-custom-callbacks/#post-16316059)
 * Hi [@njbair](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/pci-vault-forms/assets/icon-256x256.jpg?rev=2838484)
 * [PCI Vault Forms](https://wordpress.org/plugins/pci-vault-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pci-vault-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pci-vault-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/pci-vault-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pci-vault-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pci-vault-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [PCI Vault](https://wordpress.org/support/users/pcivault/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/custom-post-data-custom-callbacks/#post-16316059)
 * Status: resolved