{"id":8032113,"date":"2015-11-18T13:16:19","date_gmt":"2015-11-18T13:16:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/works-well-but-could-use-a-few-tweaks\/"},"modified":"2016-09-03T03:43:26","modified_gmt":"2016-09-03T03:43:26","slug":"works-well-but-could-use-a-few-tweaks","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/works-well-but-could-use-a-few-tweaks\/","title":{"rendered":"Works well, but could use a few tweaks"},"content":{"rendered":"<p>Overall this plugin works perfectly. I&#8217;ve been using it for a few months now and haven&#8217;t had any issues.<\/p>\n<p>My one suggestion is to strip spaces from card numbers. The EDD creditCardValidator.js script validates a card number with spaces (it adds the green tick next to the card number), which would make the user think it&#8217;s okay. But then when you actually submit the purchase, it says the card number is invalid, which might be confusing. I found this out when I used some of the Sage Pay test card numbers, which they give to you with spaces in.<\/p>\n<p>I ended up modifying the plugin to strip spaces then it worked exactly how I wanted. \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-8032113","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8032113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8032113\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8032113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}