Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plastic: modify Payment Profile without card number?

Featured Replies

I'm running Plastic 2.33 using Authorize.net and running into an issue with updating profiles. A customer will change their billing address (or, occasionally, they'll give us a new expiry for an unchanged credit card). I'll enter this in my FileMaker database and run a script using CCProfileUpdatePayment. However, since we only store the last four digits of the card on our system, the card number passed into CCProfileUpdatePayment is invalid. We'll get an error and the profile will not update. But I can't not update the card number, or I get an "invalid number of arguments for function" error when editing the script. And there's no way to get the full credit card number back from Authorize.net once you've entered it (because it's not secure -- fair enough). I end up having to hand-update profiles like this on Authorize.net, which isn't a dealbreaker, but it is a bit of a bloody nuisance. 

Is there a workaround? I'm aware there is a new version of Plastic but I was hoping to put off installing it until our downtime, and I don't know whether this particular issue would be fixed by the new version.

 

Thanks!

Hey there,

   Can you try prefixing the last 4 credit card digits with "XXXX" when you run CCProfileUpdatePayment.  So when updating, say the last 4 digits are 1234, try putting "XXXX1234" into the field.

If that doesn't work, please us know and we can continue troubleshooting on our end. The APIs we have available are somewhat constricting given all the security features, but there may be a way we can streamline this process without customers having to resort to going back and forth with the merchants to update credit card information.

Thanks for bringing this up,

Junior Perez

360Works Support Member, 770.234.9293 

  • Author

After some poking, I'm now getting:

Quote

java.lang.nullPointerException

Which is at least a new error, and makes me think I've messed up somewhere using the function. This is what the code in my script looks like:

CCProfileUpdatePayment($APILogin; $TransKey; $CustomerID; $ProfileID; $Card; $Expiry; "zip="  & $Zip)

Have I messed up anywhere, or is there anything else that could be causing that error?

We should be able to tell what's going on if we take a look at your logs. Would you mind sending that our way? Here's a link to some documentation that assists you on finding your log depending on what operating system you're using: http://docs.360works.com/index.php/Plugin_log_files

E-mail them to our support line at [email protected]. A support ticket will be initiated and our team can start diagnosing what's going on. We typically get back to you pretty quickly.

I'll keep an eye out for your ticket. Thanks, 

Junior Perez, Support Specialist

770.234.9293

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.