Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
186 Visualizações

I followed Stripe's documentation...
https://docs.stripe.com/payments/payment-method-messaging


...to get the "pay later" messaging on the product page, which works.

However, the value shown (24.75) is based on a hard-coded number in the stripe code (9900, which stands for $99.00).


Below is the stripe code (literally just a copy/pasted into the template from the stripe doc), and it seems like it'd be fairly straight forward to put some qweb in place of the 9900 (line 7), injecting the actual price of the product, but everything I tried did not work. I feel like I'm just barely missing the answer here and hoping someone can point out my obvious oversight.




Prior to doing this for Stripe's pay later option, I had done it for PayPal's pay later option, and it worked, and automatically captured the correct product price, so I didn't have to do any additional customization.

Avatar
Cancelar