WEBHOOK on payments amount and zapier and similar integration

  • Profile Image
    Damanhur_Community
    Asked on June 16, 2020 at 12:01 PM

    I set up a form to collect donations, integrated with stripe (But if needed i can do it with paypal)

    I need to create an entity in Bitrix24 crm (DEAL), including the amount.

    The amount of a donation (that is a variable field) is not exported in the webhook as a single field, but as the string you see here after 

    Is there any tip to have the total amount of the donation read by a service like leadsbridge or zapier?

     

    Donation Amount

    {"product":["Donation (Amount: 10.00 USD)"],"currency":"USD","total":"10.00","stripeData":{"intentID":"pi_1GucQ1I1YOxK23gun2U1oolL","paymentMethodID":false,"customerID":"cus_HTZZbFWCzPZt6N","returnURL":"https:\/\/submit.jotformeu.com\/complete.php?sid=4681140085254093144","plan":false,"setupFeeAmount":false,"setupFeeDesc":false,"subscriptionDelay":false,"apiKey":"sk_test_51GOKkDI1YOxK23gu4nECiujN19VjNFDfIep8zmHiV6cT1QWSP8BP55amUp2cGK3dXJiEEyShgSrgrQWKK8vLg0iT00I7XKZFcP","paymentType":"donation","sendEmail":"Yes","subscriptionParams":false,"scaClass":"StripePaymentsSCA","isCharged":true},"customerid":"cus_HTZZbFWCzPZt6N","firstname":"Pippo","lastname":"Pluto","email":"prova@maxrama.com"}

  • Profile Image
    BDAVID
    Answered on June 16, 2020 at 02:04 PM

    Hi, you get the amount through a separate field, which is the Form Calculation widget:

    1592330575product.gif

    Let us know if you need more help.

  • Profile Image
    Damanhur_Community
    Answered on June 16, 2020 at 04:39 PM

    Sorry but does not work because is impossible to read the field created by the payment on the subscriprion in Stripe or Paypal

  • Profile Image
    BDAVID
    Answered on June 16, 2020 at 06:19 PM

    I thought you wanted to export the Total amount in a separate in your webhook:

    1592345834total.png

    Could please you explain further what you mean by "impossible to read the field created by the payment on the subscriprion in Stripe or Paypal"?