Fixing issue where default payment was not benig sent to JS