Skip to main content
mrana's user avatar
mrana's user avatar
mrana's user avatar
mrana
web app dev
  • Member for 10 years
  • Last seen more than a week ago
  • Germany
revised
How to overwrite Contao4 errorPage
added 10 characters in body
Loading…
asked
Loading…
comment
Can we do the success page redirect from server side?
Yes, I understand your idea. I will try that and let you know. thank you
comment
Can we do the success page redirect from server side?
If I redirect before the fetch, is not it the Paypal popup gone? because all the fetches are happening from Paypal popup actions? (once the PP popup opens it creates the 'order fetch' and after login and payment approval the 'capture fetch')
comment
Can we do the success page redirect from server side?
I modified the code, now you can check the whole onApprove: function which contains 'order_creation' and then 'order_capture'. I can not directly redirect once the onApprove function calls coz it does 2 fetch() calls. (also both order creation and capture happen while the Paypal popup is active)
revised
Loading…
Loading…
awarded
awarded
awarded
Loading…
comment
Load and do the payment under different radio buttons (v2 REST API with PayPal JavaScript SDK)
As a result, every function will be called multiple(as many payment methods as you have) times!!
comment
Load and do the payment under different radio buttons (v2 REST API with PayPal JavaScript SDK)
if I call those functions inside the paypal.Buttons({...}) will be looped multiple times. the same object will be created multiple times!
Loading…
awarded
awarded
awarded
comment
Contao 4 Front-end login does not work like contao 3.5
Yes, know this. for form submit this is fine. but i need auto-login without submitting the form. For example, I have a URL with some hash code that would auto-login to contao 4. So, no form submit but another solution.
revised
Loading…
Loading…
1
2 3 4 5 6