amas
Member
Hi team,
I’m building a workflow where Stripe payments trigger a process that stores customer data and calculates VAT based on the buyer’s country.
The problem is: depending on the payment method (card vs. link), some key fields are missing in the webhook payload.
Here’s what I’ve observed:
The issue is that when creating the workflow in Pabbly, I can only use the fields present in the sample data. This means I can’t configure logic that checks or uses both paths (card vs. link), because the missing fields aren’t recognized unless they’re in the sample.
My question is:
Best regards,
Antonio
I’m building a workflow where Stripe payments trigger a process that stores customer data and calculates VAT based on the buyer’s country.
The problem is: depending on the payment method (card vs. link), some key fields are missing in the webhook payload.
Here’s what I’ve observed:
- For most card payments (especially from Spain), the country is available under:
data.object.billing_details.address.country
and/or
data.object.payment_method_details.card.country. - For Stripe Payment Link payments, often only
data.object.payment_method_details.link.country
is available, and billing_details.address.country is frequently missing.
The issue is that when creating the workflow in Pabbly, I can only use the fields present in the sample data. This means I can’t configure logic that checks or uses both paths (card vs. link), because the missing fields aren’t recognized unless they’re in the sample.
My question is:
- Is there a way to reference both possible fields, even if one is missing in the sample?
- Or can I somehow load a custom test payload that includes all relevant fields, so I can build a more robust flow?
Best regards,
Antonio