#feminaagravat_39821

1 messages · Page 1 of 1 (latest)

mystic summitBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

elfin herald
#

Hi, let me help you with this.

#

What have you been trying exactly?

ionic saffron
#

After your customer successfully completes the flow, User should redirect to my website . For that i want to add extra query string parameter

#

'flow_data' =>[
'type'=>'payment_method_update',
'after_completion' => [
'type' => 'redirect',
'redirect' => ['return_url' => $this->baseURL.'owner/renewal/?paymentUpdated=true'],
],
]

#

So when I udpate the payment method , it redirects but it omit the paymentUpdated=true

#

I can't see paymentUpdated=true parameter when it redirects

elfin herald
#

I just tried this and it works.

#

Maybe your endpoint is removing the query param?
Try testing with google.com/?foo=bar

ionic saffron
#

ok

#

let me try

#

I got the issue

#

'return_url' => $this->baseURL.'owner/renewal',
'flow_data' =>[
'type'=>'payment_method_update',
'after_completion' => [
'type' => 'redirect',
'redirect' => ['return_url' => 'https://www.google.com/?foo=bar'],
],
]

#

it is not considering the redirect mentioned in after_completion . It is taking to $this->baseURL.'owner/renewal

elfin herald
#

Are you sure you're completing the flow?

ionic saffron
#

yes

#

Is session takes value from cache ?

elfin herald
#

From what cache?

elfin herald
# ionic saffron yes

I tested with the flow_data and it redirects to the correct URL. Could you please share a screen recording of the behavior you're observing?

ionic saffron
#

yes

#

Also I have a question , is there a way that session always start fresh so that we will not experiance session is expired error message

ionic saffron
elfin herald