message: Update generateMerchantPaymentUrl to handle no amount when no currency specified
diff: @@ -33,11 +33,10 @@ export const generateMerchantPaymentUrl = ({
  network,
  currency,
  }: MerchantPaymentURLParams) => {
  - const handleAmount = amount ? `amount=${amount}&` : '';
  - const handleCurrency = currency ? `${handleAmount ? '&' : ''}currency=${currency}` : '';
  + const handleAmountAndCurrency = currency ? `${amount ? `amount=${amount}&` : ''}currency=${currency}` : '';
  const https = isUniversalDomain(domain) ? 'https://' : '';
  - return `${https}${domain}/pay/${network}/${merchantSafeID}?${handleAmount}${handleCurrency}`;
  + return `${https}${domain}/pay/${network}/${merchantSafeID}?${handleAmountAndCurrency}`;
  };
  // see https://github.com/cardstack/cardstack/pull/2095 for test cases used during dev
  