To connect your HubSpot account with PayPal via DepositFix, please use this code:


<script src="https://depositfix.s3.amazonaws.com/depositfixform_paypal.js"></script>
<script type="text/javascript" id="df-script">
    DepositFixForm.init({
        hubSpotFormId: '[YOUR FORM ID TO ATTACH PAYMENTS]',
        userId: '[USER ID FROM DEPOSITFIX]',
        amount: '[AMOUNT, e.g. 250]',
        productName: '[PRODUCT NAME]',
        paypalEmail: '[EMAIL OF YOUR PAYPAL ACCOUNT]'
    });
</script>


Your customer will be redirected to PayPal payment page with predefined product name and amount to pay. After the transaction, DepositFix will update HubSpot contact.