Changeset 17604 for main


Ignore:
Timestamp:
8 Oct 2023, 07:20:49 (15 months ago)
Author:
Henrik Bettermann
Message:

Open function to allow receiving POST requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py

    r17248 r17604  
    167167    grok.context(INigeriaStudentOnlinePayment)
    168168    grok.name('request_webservice')
    169     grok.require('waeup.payStudent')
     169
     170    #grok.require('waeup.payStudent')
     171   
     172    # Function temporarily opened on 08/10/23 because Interswitch is sending
     173    # POST requests instead of GET requests. Usually all browsers protect
     174    # against cross-site attacks by removing cookies included in requests
     175    # originating from other websites. In other words, the cookies with the
     176    # session id, which is used for authentication is beeing removed when
     177    # receiving a POST request from the Interswitch platform.
     178    grok.require('waeup.Public')
    170179
    171180    product_id = None
Note: See TracChangeset for help on using the changeset viewer.