File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/manager/apps/public-cloud/src Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,22 @@ export default class PublicCloudController {
6767 const hashes = this . $window . location . hash . slice (
6868 this . $window . location . hash . indexOf ( '?' ) + 1 ,
6969 ) . split ( '&' ) ;
70+ // as paypal redirect to search query
71+ // search also in location search
72+ const searchHashes = this . $window . location . search . slice (
73+ this . $window . location . search . indexOf ( '?' ) + 1 ,
74+ ) . split ( '&' ) ;
7075 const params = { } ;
7176 hashes . map ( ( hash ) => {
7277 const [ key , val ] = hash . split ( '=' ) ;
7378 params [ key ] = decodeURIComponent ( val ) ;
7479 return true ;
7580 } ) ;
81+ searchHashes . map ( ( hash ) => {
82+ const [ key , val ] = hash . split ( '=' ) ;
83+ params [ key ] = decodeURIComponent ( val ) ;
84+ return true ;
85+ } ) ;
7686
7787 if ( params . hiPayStatus || params . paypalAgreementStatus ) {
7888 return true ;
You can’t perform that action at this time.
0 commit comments