- Posts: 23
- Thank you received: 1
PayPal: Cart not empty and not Thank-you page upon return
- MartinSvejda
-
Topic Author
- Offline
Less
More
4 years 8 months ago #338671
by MartinSvejda
-- HikaShop version -- : 4.4.5
-- Joomla version -- : 4.0.4
-- Browser(s) name and version -- : Chrome
Hi there, sorry, me again...
I have setup the PayPal plugin, payments are made, e-mails sent etc.. But what doesn't work is, that
A) The shopping cart is not emptied upon return from a succesful PP-payment (the solution of emptying the cart upon creation works, but is not ideal, since it should also work in the case when PP confirms the payment, which obviously works, otherwise no e-mail would be sent). If the payment with PP doesn't succed, I don't want my customers having to refill the cart...
I don't get any Hika-Thank-You-Page upon return, which I thought having read is actually foreseen in Hikashop (Not talking about the PP autoreturn function, that doesn't work either, but that's not the issue here). When I return from PP, I land on the product page.
I searched the whole day for solutions, so you are my last resort, again...
(on the other hand I will update you if I find errors in the translations...)
Take care,
Martin
-- Joomla version -- : 4.0.4
-- Browser(s) name and version -- : Chrome
Hi there, sorry, me again...
I have setup the PayPal plugin, payments are made, e-mails sent etc.. But what doesn't work is, that
A) The shopping cart is not emptied upon return from a succesful PP-payment (the solution of emptying the cart upon creation works, but is not ideal, since it should also work in the case when PP confirms the payment, which obviously works, otherwise no e-mail would be sent). If the payment with PP doesn't succed, I don't want my customers having to refill the cart...
I searched the whole day for solutions, so you are my last resort, again...
Take care,
Martin
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338674
by nicolas
Replied by nicolas on topic PayPal: Cart not empty and not Thank-you page upon return
Hi,
When returning from PayPal, you're supposed to see the URL you entered in the "return URL" of the PayPal payment method in System>Payment methods.
If you left that setting empty, as it is by default, then you'll be returned to the default thank you page of HikaShop. It's possible that you don't see the thank you message here and thus get the main area of the page blank if your template is not displaying system messages.
So the only reason you would get a product details page upon return would be if you entered the URL of that product in the "Return URL" setting, or if you (or your template provider) have customized the "after_end" view file to redirect there instead of displaying the normal thank you page.
If you get to skip the normal process of the thank you page, it's normal that the cart is not being emptied as the emptying, it precisely done just before redirecting to the "return URL" or displaying the default thank you page of HikaShop.
This would then mean that fixing the return URL issue would fix the cart not empty issue.
What is the exact URL you end up on when going back ?
Also, as a side note regarding the carts, note that if you have several carts attached to your user account, the current cart will be cleared, and the next one in line will be loaded instead, so it can be confusing when you're running a battery of tests.
When returning from PayPal, you're supposed to see the URL you entered in the "return URL" of the PayPal payment method in System>Payment methods.
If you left that setting empty, as it is by default, then you'll be returned to the default thank you page of HikaShop. It's possible that you don't see the thank you message here and thus get the main area of the page blank if your template is not displaying system messages.
So the only reason you would get a product details page upon return would be if you entered the URL of that product in the "Return URL" setting, or if you (or your template provider) have customized the "after_end" view file to redirect there instead of displaying the normal thank you page.
If you get to skip the normal process of the thank you page, it's normal that the cart is not being emptied as the emptying, it precisely done just before redirecting to the "return URL" or displaying the default thank you page of HikaShop.
This would then mean that fixing the return URL issue would fix the cart not empty issue.
What is the exact URL you end up on when going back ?
Also, as a side note regarding the carts, note that if you have several carts attached to your user account, the current cart will be cleared, and the next one in line will be loaded instead, so it can be confusing when you're running a battery of tests.
The following user(s) said Thank You: MartinSvejda
Please Log in or Create an account to join the conversation.
- MartinSvejda
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 1
4 years 8 months ago #338706
by MartinSvejda
Replied by MartinSvejda on topic PayPal: Cart not empty and not Thank-you page upon return
Merci, Nicolas.
So I added an URL in the PayPal settings in HS. But I still don't get there upon a succesful completion. I attached links to two videos to show my settings and what I do. And I have the multicart option deactivated since always, so not the problem.
drive.google.com/file/d/1wZkhb1jPLmKrOpv...WAW/view?usp=sharing
This shows the URL I put in the return field, that I empty cart upon "confirmed" and that the buy was succesful, but it still returns to the checkout page.
drive.google.com/file/d/18UKPIFwRtag2vek...Vi_/view?usp=sharing
This shows the URL I put in the return field, that I empty cart upon "created" and that the buy was succesful, and then actually empties the cart, but still doesn't go to the return page, but goes to the article overview page (as foreseen by default when cart empty).
I must be missing something, otherwise your shop works really well...!
Merci et tout de bon,
Martin
So I added an URL in the PayPal settings in HS. But I still don't get there upon a succesful completion. I attached links to two videos to show my settings and what I do. And I have the multicart option deactivated since always, so not the problem.
drive.google.com/file/d/1wZkhb1jPLmKrOpv...WAW/view?usp=sharing
This shows the URL I put in the return field, that I empty cart upon "confirmed" and that the buy was succesful, but it still returns to the checkout page.
drive.google.com/file/d/18UKPIFwRtag2vek...Vi_/view?usp=sharing
This shows the URL I put in the return field, that I empty cart upon "created" and that the buy was succesful, and then actually empties the cart, but still doesn't go to the return page, but goes to the article overview page (as foreseen by default when cart empty).
I must be missing something, otherwise your shop works really well...!
Merci et tout de bon,
Martin
Please Log in or Create an account to join the conversation.
- MartinSvejda
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 1
4 years 8 months ago #338707
by MartinSvejda
Replied by MartinSvejda on topic PayPal: Cart not empty and not Thank-you page upon return
UPDATE: I created a page with a text for cancelled payments, I put it into cacelled-URL and guess what happened upon a succesful payment: It showed the cancelled page.
And cancelling at the PayPal-Site ALSO gets me to the cancelled page. Seems that both options in the HIKA-Plugin go to the cancelled URL...!!?
We are getting there...
And cancelling at the PayPal-Site ALSO gets me to the cancelled page. Seems that both options in the HIKA-Plugin go to the cancelled URL...!!?
We are getting there...
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338722
by nicolas
Replied by nicolas on topic PayPal: Cart not empty and not Thank-you page upon return
Hi,
That's really strange.
It's as if something else was catching the URL to direct somewhere else.
Could you try again these different scenarios and open the "network" tab of the console of your browser just before your click on the buton to validate the payment ?
In there, if you could filter with the "Doc" mode, we would be able to see a list of the different redirects being done.
Something like that:
i.imgur.com/ZswawCi.png
(with other URLs of course)
That would allow us to better grasp what is happening when you're leaving PayPal and going back to the website.
That's really strange.
It's as if something else was catching the URL to direct somewhere else.
Could you try again these different scenarios and open the "network" tab of the console of your browser just before your click on the buton to validate the payment ?
In there, if you could filter with the "Doc" mode, we would be able to see a list of the different redirects being done.
Something like that:
i.imgur.com/ZswawCi.png
(with other URLs of course)
That would allow us to better grasp what is happening when you're leaving PayPal and going back to the website.
Please Log in or Create an account to join the conversation.
- MartinSvejda
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 1
4 years 8 months ago #338792
by MartinSvejda
Replied by MartinSvejda on topic PayPal: Cart not empty and not Thank-you page upon return
Dear HIKA-Team,
So below are the screenshots, their title should be clear on which case it is:
- Was the payment a success or was it manually cancelled.
- Upon which setting is the cart (theoretically) cleaned.
- Where did my site lead me to after the above happened.
Let me please know if you need further details.
Kind regards et excellente journée,
Martin
So below are the screenshots, their title should be clear on which case it is:
- Was the payment a success or was it manually cancelled.
- Upon which setting is the cart (theoretically) cleaned.
- Where did my site lead me to after the above happened.
Let me please know if you need further details.
Kind regards et excellente journée,
Martin
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338795
by nicolas
Replied by nicolas on topic PayPal: Cart not empty and not Thank-you page upon return
Hi,
This indicates that the cancel URL is always used, even when the payment is a success.
Could you activate the "debug" setting of the payment method and do a payment test ?
After you're redirected to PayPal, please check the "payment log file" setting of the HikaShop configuration.
If you open it, you should see at the end some debug data of what information is sent to PayPal at the end of the checkout, when the customer is sent to the PayPal payment method.
In there, you'll have maybe parameters, including "return" and "cancel_return".
The "return" parameter will contain the URL where the customer is redirected to after the payment is a success. It should normally be a URL with "&task=after_end" in it, while the "cancel_return" parameter should have instead "&task=cancel_order".
On your screenshots, I can see that when you get redirected back to the website you go through the URL with "&task=cancel_order", as if the cancel URL was set in the "return" parameter, which is not the case in the code.
So I want to check that the data sent to PayPal is correct.
If that's the case, then I can only think that there is a setting in your PayPal merchant account where you entered the cancel URL and which overrides what HikaShop sends to PayPal.
If that's not the case, then it would mean that the code of the PayPal plugin has been modified on your end for some reason.
This indicates that the cancel URL is always used, even when the payment is a success.
Could you activate the "debug" setting of the payment method and do a payment test ?
After you're redirected to PayPal, please check the "payment log file" setting of the HikaShop configuration.
If you open it, you should see at the end some debug data of what information is sent to PayPal at the end of the checkout, when the customer is sent to the PayPal payment method.
In there, you'll have maybe parameters, including "return" and "cancel_return".
The "return" parameter will contain the URL where the customer is redirected to after the payment is a success. It should normally be a URL with "&task=after_end" in it, while the "cancel_return" parameter should have instead "&task=cancel_order".
On your screenshots, I can see that when you get redirected back to the website you go through the URL with "&task=cancel_order", as if the cancel URL was set in the "return" parameter, which is not the case in the code.
So I want to check that the data sent to PayPal is correct.
If that's the case, then I can only think that there is a setting in your PayPal merchant account where you entered the cancel URL and which overrides what HikaShop sends to PayPal.
If that's not the case, then it would mean that the code of the PayPal plugin has been modified on your end for some reason.
Please Log in or Create an account to join the conversation.
- MartinSvejda
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 1
4 years 8 months ago - 4 years 6 months ago #338822
by MartinSvejda
Replied by MartinSvejda on topic PayPal: Cart not empty and not Thank-you page upon return
Hi,
So that's what I got, incl. the messages after I press the return field in PP and it seems to be OK, as you said it should be. I even deactivated the auto-return-url in PayPal... And honestly, since I wouldn't know what I am doing, I didn't change anything in the PayPal plugin. All I do is at max CopyPaste CSS-code in the override part of the template and that only touches a little bit of layout stuff...
Helpless... But we will get there...
Can I reinstall the PP-Plugin to be sure nothing is modified in any way?
Thanks in any case
So that's what I got, incl. the messages after I press the return field in PP and it seems to be OK, as you said it should be. I even deactivated the auto-return-url in PayPal... And honestly, since I wouldn't know what I am doing, I didn't change anything in the PayPal plugin. All I do is at max CopyPaste CSS-code in the override part of the template and that only touches a little bit of layout stuff...
Helpless... But we will get there...
Can I reinstall the PP-Plugin to be sure nothing is modified in any way?
Thanks in any case
Code:
PayPal transaction id: 59F55345LX659215T
01.20.22 18:22:02 - paypal
Array
(
[cmd] => _cart
[upload] => 1
[business] => B@crutch-up.ch
[receiver_email] => B@crutch-up.ch
[invoice] => 87
[currency_code] => CHF
[return] => https://crutch-up.ch/index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=87&Itemid=224
[notify_url] => https://crutch-up.ch/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=de&Itemid=224
[cancel_return] => https://crutch-up.ch/index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=87&Itemid=224
[undefined_quantity] => 0
[test_ipn] => 1
[shipping] => 0
[no_shipping] => 2
[no_note] => 1
[charset] => utf-8
[rm] => 2
[bn] => HikariSoftware_Cart_WPS
[address_override] => 1
[first_name] => Martin
[last_name] => S.
[address1] => Route de Lutry 1
[address2] =>
[zip] => 1073
[city] => Savigny
[state] => VD
[country] => CH
[email] => buddhasworkshop0@gmail.com
[night_phone_b] => 0763773300
[amount_1] => 8.11
[item_name_1] => Gesamtpreis
)
01.20.22 18:28:10 - paypal
Array
(
[option] => com_hikashop
[ctrl] => checkout
[task] => notify
[notif_payment] => paypal
[tmpl] => component
[lang] => de
[Itemid] => 224
[mc_gross] => 8.11
[invoice] => 87
[protection_eligibility] => Eligible
[address_status] => confirmed
[item_number1] =>
[payer_id] => EJG7PGKXG86TW
[address_street] => Route de Lutry 1
[payment_date] => 09:28:03 Jan 20, 2022 PST
[payment_status] => Completed
[charset] => UTF-8
[address_zip] => 1073
[first_name] => John
[mc_fee] => 0.83
[address_country_code] => CH
[address_name] => Martin S.
[notify_version] => 3.9
[custom] =>
[payer_status] => verified
[business] => B@crutch-up.ch
[address_country] => Switzerland
[num_cart_items] => 1
[address_city] => Savigny
[verify_sign] => AxbqqD4TO9YGreYK60gJH86t-MiiA6ZWDk01EBl48LR80GD15iogd1Bw
[payer_email] => p@crutch-up.ch
[txn_id] => 6AY453375H788583E
[payment_type] => instant
[last_name] => Doe
[address_state] => VD
[item_name1] => Gesamtpreis
[receiver_email] => B@crutch-up.ch
[payment_fee] =>
[shipping_discount] => 0.00
[quantity1] => 1
[insurance_amount] => 0.00
[receiver_id] => AFGG5CYHMEVCJ
[txn_type] => cart
[discount] => 0.00
[mc_gross_1] => 8.11
[mc_currency] => CHF
[residence_country] => CH
[test_ipn] => 1
[shipping_method] => Default
[transaction_subject] =>
[payment_gross] =>
[ipn_track_id] => 4cf688d80fca7
)
01.20.22 18:28:10 - paypal
stdClass Object
(
[order_id] => 87
[order_billing_address_id] => 9
[order_shipping_address_id] => 10
[order_user_id] => 9
[order_parent_id] => 0
[order_status] => cancelled
[order_type] => sale
[order_number] => D8U7
[order_created] => 1642699322
[order_modified] => 1642699686
[order_invoice_id] => 0
[order_invoice_number] =>
[order_invoice_created] => 0
[order_currency_id] => 151
[order_currency_info] => O:8:"stdClass":4:{s:13:"currency_code";s:3:"CHF";s:13:"currency_rate";s:7:"1.00000";s:20:"currency_percent_fee";s:4:"0.00";s:17:"currency_modified";i:1642698781;}
[order_full_price] => 8.10981
[order_tax_info] => Array
(
[MwSt.] => stdClass Object
(
[tax_namekey] => MwSt.
[tax_rate] => 0.07700
[tax_amount] => 0.57981
[amount] => 7.53
[tax_amount_for_shipping] => 0.57211
)
)
[order_discount_code] =>
[order_discount_price] => 0.00000
[order_discount_tax] => 0.00000
[order_payment_id] => 4
[order_payment_method] => paypal
[order_payment_price] => 0.00000
[order_payment_tax] => 0.00000
[order_payment_params] => stdClass Object
(
)
[order_shipping_id] => 8
[order_shipping_method] => manual
[order_shipping_price] => 8.00211
[order_shipping_tax] => 0.57211
[order_shipping_params] => stdClass Object
(
[prices] => Array
(
[8@0] => stdClass Object
(
[price_with_tax] => 8.00211
[tax] => 0.57211
[taxes] => Array
(
[MwSt.] => 0.57211
)
)
)
)
[order_partner_id] => 0
[order_partner_price] => 0.00000
[order_partner_paid] => 0
[order_partner_currency_id] => 0
[order_ip] => 178.39.239.149
[order_site_id] =>
[order_lang] => de-DE
[order_token] => XjkJHZTb
[order_weight] => 1.000
[order_weight_unit] => kg
[order_volume] => 0.000
[order_dimension_unit] => m
[comment] =>
[deliverydate] =>
[cart] => stdClass Object
(
[billing_address] => stdClass Object
(
[address_id] => 9
[address_user_id] => 9
[address_type] => billing
[address_title] => Mr
[address_firstname] => Martin
[address_middle_name] =>
[address_lastname] => S.
[address_company] =>
[address_street] => Route de Lutry 1
[address_street2] =>
[address_post_code] => 1073
[address_city] => Savigny
[address_telephone] => 0763773300
[address_telephone2] =>
[address_fax] =>
[address_state] => stdClass Object
(
[zone_id] => 3642
[zone_namekey] => state_Vaud_3642
[zone_name] => Vaud
[zone_name_english] => Vaud
[zone_code_2] =>
[zone_code_3] => VD
[zone_type] => state
[zone_published] => 1
[zone_currency_id] => 0
)
[address_country] => stdClass Object
(
[zone_id] => 204
[zone_namekey] => country_Switzerland_204
[zone_name] => Schweiz • Suisse • Svizzera • Svizra
[zone_name_english] => Switzerland
[zone_code_2] => CH
[zone_code_3] => CHE
[zone_type] => country
[zone_published] => 1
[zone_currency_id] => 0
)
[address_published] => 1
[address_vat] =>
[address_default] => 1
[address_country_orig] => country_Switzerland_204
[address_state_orig] => state_Vaud_3642
)
[fields] => Array
(
[address_title] => stdClass Object
(
[field_id] => 1
[field_table] => address
[field_realname] => Title
[field_namekey] => address_title
[field_type] => singledropdown
[field_value] => Mr::HIKA_TITLE_MR
Mrs::HIKA_TITLE_MRS
Miss::HIKA_TITLE_MISS
Ms::HIKA_TITLE_MS
Dr::HIKA_TITLE_DR
[field_published] => 1
[field_ordering] => 1
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_firstname] => stdClass Object
(
[field_id] => 2
[field_table] => address
[field_realname] => Firstname
[field_namekey] => address_firstname
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 2
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_lastname] => stdClass Object
(
[field_id] => 4
[field_table] => address
[field_realname] => Lastname
[field_namekey] => address_lastname
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 4
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_street] => stdClass Object
(
[field_id] => 6
[field_table] => address
[field_realname] => Street
[field_namekey] => address_street
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 6
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_post_code] => stdClass Object
(
[field_id] => 8
[field_table] => address
[field_realname] => Post code
[field_namekey] => address_post_code
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 8
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_city] => stdClass Object
(
[field_id] => 9
[field_table] => address
[field_realname] => City
[field_namekey] => address_city
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 9
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_telephone] => stdClass Object
(
[field_id] => 10
[field_table] => address
[field_realname] => Telephone
[field_namekey] => address_telephone
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 10
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_country] => stdClass Object
(
[field_id] => 13
[field_table] => address
[field_realname] => Country
[field_namekey] => address_country
[field_type] => zone
[field_value] =>
[field_published] => 1
[field_ordering] => 13
[field_options] => a:6:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:9:"zone_type";s:7:"country";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] => country_Switzerland_204
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
[address_state] => stdClass Object
(
[field_id] => 14
[field_table] => address
[field_realname] => State
[field_namekey] => address_state
[field_type] => zone
[field_value] =>
[field_published] => 1
[field_ordering] => 14
[field_options] => a:6:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:9:"zone_type";s:5:"state";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_default] =>
[field_access] => all
[field_categories] =>
[field_with_sub_categories] => 0
[field_products] =>
[field_address_type] =>
[field_frontcomp] => 1
[field_backend] => 1
[field_backend_listing] => 0
[field_display] =>
[field_shipping_id] =>
[field_payment_id] =>
)
)
[shipping_address] => stdClass Object
(
[address_id] => 10
[address_user_id] => 9
[address_type] => shipping
[address_title] => Mr
[address_firstname] => Martin
[address_middle_name] =>
[address_lastname] => S.
[address_company] =>
[address_street] => Route de Lutry 1
[address_street2] =>
[address_post_code] => 1073
[address_city] => Savigny
[address_telephone] => 0763773300
[address_telephone2] =>
[address_fax] =>
[address_state] => stdClass Object
(
[zone_id] => 3642
[zone_namekey] => state_Vaud_3642
[zone_name] => Vaud
[zone_name_english] => Vaud
[zone_code_2] =>
[zone_code_3] => VD
[zone_type] => state
[zone_published] => 1
[zone_currency_id] => 0
)
[address_country] => stdClass Object
(
[zone_id] => 204
[zone_namekey] => country_Switzerland_204
[zone_name] => Schweiz • Suisse • Svizzera • Svizra
[zone_name_english] => Switzerland
[zone_code_2] => CH
[zone_code_3] => CHE
[zone_type] => country
[zone_published] => 1
[zone_currency_id] => 0
)
[address_published] => 1
[address_vat] =>
[address_default] => 1
[address_country_orig] => country_Switzerland_204
[address_state_orig] => state_Vaud_3642
)
)
)
01.20.22 18:28:10 - paypal
Array
(
[scheme] => https
[host] => www.sandbox.paypal.com
[path] => /cgi-bin/webscr
[query] =>
[port] => 443
[host_socket] => ssl://www.sandbox.paypal.com
)
01.20.22 18:28:11 - paypal
VERIFIED
01.20.22 18:28:11 - paypal
PayPal transaction id: 6AY453375H788583E
Last edit: 4 years 6 months ago by Jerome. Reason: [code] tag is nice
Please Log in or Create an account to join the conversation.
- MartinSvejda
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 1
4 years 8 months ago - 4 years 8 months ago #338823
by MartinSvejda
Replied by MartinSvejda on topic PayPal: Cart not empty and not Thank-you page upon return
It cut the links, sorry... Again, so I put some brackets in the start
[return] => ( crutch-up.ch/ )index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=87&Itemid=224
[notify_url] => ( crutch-up.ch/ )index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=de&Itemid=224
[cancel_return] => ( crutch-up.ch/ )index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=87&Itemid=224
[return] => ( crutch-up.ch/ )index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=87&Itemid=224
[notify_url] => ( crutch-up.ch/ )index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=de&Itemid=224
[cancel_return] => ( crutch-up.ch/ )index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=87&Itemid=224
Last edit: 4 years 8 months ago by MartinSvejda.
Please Log in or Create an account to join the conversation.
- MartinSvejda
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 1
4 years 8 months ago - 4 years 8 months ago #338827
by MartinSvejda
Replied by MartinSvejda on topic PayPal: Cart not empty and not Thank-you page upon return
I now even created 2 new Sandbox Seller and Buyer account without changing whatsoever and the problem persists.
And not even buying from my cell phone from a different IP and browser helps.
And not even buying from my cell phone from a different IP and browser helps.
Last edit: 4 years 8 months ago by MartinSvejda.
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338843
by Philip
Replied by Philip on topic PayPal: Cart not empty and not Thank-you page upon return
Hi,
The return link is ok in the data being sent.
And if you open the link with your browser, you properly get redirected to the thank you page.
So all I can conclude is that PayPal is overriding the return URL and thus it must come from a setting in the PayPal merchant account.
Maybe this will help: www.paypal.com/us/smarthelp/article/how-...o-my-website-faq3651
I would recommend turning off the auto return, since HikaShop will send the return to PayPal, there is no point in setting this in the merchant account. So please check there what the situation is.
The return link is ok in the data being sent.
And if you open the link with your browser, you properly get redirected to the thank you page.
So all I can conclude is that PayPal is overriding the return URL and thus it must come from a setting in the PayPal merchant account.
Maybe this will help: www.paypal.com/us/smarthelp/article/how-...o-my-website-faq3651
I would recommend turning off the auto return, since HikaShop will send the return to PayPal, there is no point in setting this in the merchant account. So please check there what the situation is.
Please Log in or Create an account to join the conversation.
Time to create page: 0.272 seconds