Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata formfield was added in API post #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mavelar
Copy link

@mavelar mavelar commented Aug 1, 2015

Now you can add metadata for additional information.

Sample:

createCharge(
amount={amount},
card={token},
metadata= { 'sessionid': session.cfid }
);

@merrick89
Copy link

merrick89 commented Dec 7, 2017

Didn't work for my project. I had to change lines 77-81 to:

if (structCount(arguments.metadata)) {
   for(key in arguments.metadata){
          local.HTTPService.addParam(type='formfield',name='metadata[#key#]',value=arguments.metadata[key]);
   }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants