#altair-django-integration
1 messages ยท Page 1 of 1 (latest)
altair-django-integration
@pine glacier I don't see what would be insecure or hard specifically in this set up. Your best option is to use Checkout which is our hosted product for payments which drastically simplifies the integration. See https://stripe.com/docs/payments/checkout
we have checkout integrated and running for payment, its just we have some edge cases which checkout is not filling in
like what?
so we thought of doing a full integration, right now its just exploratory but main concern is security
yeah I don't really get the worry about security so I'm not sure how to answer.
so we accept payments globally, and via multiple payment methods, issue is stripe has dynamic pricing for all of them, which we solved by asking people to select a payment method from our frontend and enforcing that in the checkout, now there's another nuance in cc payments that US cc have different prices than international CC's
If you don't use Checkout you'll have to use Stripe.js and our pre-built UI elements to meet the requirements of PCI compliance per https://stripe.com/docs/security/guide#validating-pci-compliance
and last time I checked we cant update the charges on the fly in checkout
gotcha, so using stripe's elements should be pretty safe then?
yes
I'll try it out thanks
๐
btw do you have any temp workaround for dynamic cc pricing we can use in the meanwhile?
no workaround, that's impossible
gotcha, I was looking at stripe radar and there's this rule where we can block cards if its not from a particular country
can we map this rule to checkout sesions on the fly?
or will it enforced to all sessions only?
if we can do dynamic mapping then I think we pay for radar in the meanwhile
Radar rules apply to all payments, so all Checkout Sessions too. But you can use metadata in rules to adapt to only specific Sessions. But it can't be done "dynamically during a Session"
yeah, if it works on checkout creation then its good enough for us
can you also point towards this metadata thing?
like can we specify our own values?
ah nvm thanks!