Hey guys, Hoping you all can help me figure this out. I am trying to rename our main page mvc file with a script. Our Credit card processor has been failing as of late. They are having a small issue with their generated transaction tokens. A lot of the time they return the token with a '+' in the string and when we call with that token it gets rejected. So for a small fix I am looping until i get a good token before i call. On Friday they made some change and all tokens had a '+' in them. We could not take payments for six hours. So i am trying to see if i can call a function if my loop maxes out that will rename my start page say 'Index.mvc' to 'Index_good.mvc' and rename my down page 'Index_down.mvc' to 'Index.mvc'.. In local testing all is fine. On my ubuntu server it is throwing an error trying to rename the files. I know you guys deal a lot with linux boxes and I am assuming this is a permissions error. Or is it just not possible to allow a script to have that much power?
If anyone has any time for this i would appreciate it. If you need any information about the production server i will post whatever is necessary.
Thanks.
If anyone has any time for this i would appreciate it. If you need any information about the production server i will post whatever is necessary.
Thanks.
Comment