@@ -31,6 +31,9 @@ export class GatewayService {
3131 if ( oheaders [ 'organisationid' ] ) {
3232 newheaders [ 'organisationid' ] = oheaders [ 'organisationid' ] ;
3333 }
34+ if ( oheaders [ 'stripe-signature' ] ) {
35+ newheaders [ 'stripe-signature' ] = oheaders [ 'stripe-signature' ] ;
36+ }
3437
3538 try {
3639 const response = await axios ( {
@@ -99,6 +102,8 @@ export class GatewayService {
99102 headers . academicyearid = oheaders . academicyearid ;
100103 if ( oheaders ?. organisationid )
101104 headers . organisationid = oheaders . organisationid ;
105+ if ( oheaders [ 'stripe-signature' ] )
106+ headers [ 'stripe-signature' ] = oheaders [ 'stripe-signature' ] ;
102107 response = await axios ( {
103108 method : method . toLowerCase ( ) ,
104109 url,
@@ -153,6 +158,9 @@ export class GatewayService {
153158 if ( oheaders [ 'organisationid' ] ) {
154159 newheaders [ 'organisationid' ] = oheaders [ 'organisationid' ] ;
155160 }
161+ if ( oheaders [ 'stripe-signature' ] ) {
162+ newheaders [ 'stripe-signature' ] = oheaders [ 'stripe-signature' ] ;
163+ }
156164
157165 try {
158166 const response = await axios ( {
@@ -294,6 +302,8 @@ export class GatewayService {
294302 headers . organisationid = oheaders . organisationid ;
295303 if ( oheaders [ 'x-channel-id' ] )
296304 headers [ 'x-channel-id' ] = oheaders [ 'x-channel-id' ] ;
305+ if ( oheaders [ 'stripe-signature' ] )
306+ headers [ 'stripe-signature' ] = oheaders [ 'stripe-signature' ] ;
297307
298308 response = await axios ( {
299309 method : method . toLowerCase ( ) ,
0 commit comments