[Skip to main content](#vessel-content)

#   Testing payment methods without real payment

##

- **[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")**
- [![cberry1971's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13211-cberry1971 "View cberry1971's Profile") Topic Author
- [ Offline](/forum/user/13211-cberry1971)

Less More

- Posts: 241
- Thank you received: 5
-
-

10 years 6 months ago [\#236077](#236077) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  *[Testing payment methods without real payment](/forum/27-checkout/883756-testing-payment-methods-without-real-payment#236077 "Hi,  1. Is there a way to test the scenario of payment method without doing a real payment? actually we would like to test Thank you page for instance and I see that we need to to do real payment each time we would like to see that Thank you page.  2. I see that PayPal does not have a Thank you page, Please correct me if I am wrong?  2.1. If (2.) is yes, so in this case we need to create a &quot;Thank you&quot; page our-self that will be the return url from PayPal site after the payment is completed. after the return from PayPal, is there way to get the order&#95;id of that payment?  3. I see that the scenario of the payment has many steps and that's fine, but each step load in a new page (whole reload of the page), is there way to do all those steps using AJAX in one page without reloading the whole page each time?  Thanks.")* was created by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")*

Hi,

1. Is there a way to test the scenario of payment method without doing a real payment? actually we would like to test Thank you page for instance and I see that we need to to do real payment each time we would like to see that Thank you page.

2. I see that PayPal does not have a Thank you page, Please correct me if I am wrong?

2.1. If (2.) is yes, so in this case we need to create a "Thank you" page our-self that will be the return url from PayPal site after the payment is completed. after the return from PayPal, is there way to get the order_id of that payment?

3. I see that the scenario of the payment has many steps and that's fine, but each step load in a new page (whole reload of the page), is there way to do all those steps using AJAX in one page without reloading the whole page each time?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mzc1Ni10ZXN0aW5nLXBheW1lbnQtbWV0aG9kcy13aXRob3V0LXJlYWwtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 6 months ago [\#236164](#236164) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Testing payment methods without real payment](/forum/27-checkout/883756-testing-payment-methods-without-real-payment#236164 "Hi,  1. Is there a way to test the scenario of payment method without doing a real payment? actually we would like to test Thank you page for instance and I see that we need to to do real payment each time we would like to see that Thank you page.  2. I see that PayPal does not have a Thank you page, Please correct me if I am wrong?  2.1. If (2.) is yes, so in this case we need to create a &quot;Thank you&quot; page our-self that will be the return url from PayPal site after the payment is completed. after the return from PayPal, is there way to get the order&#95;id of that payment?  3. I see that the scenario of the payment has many steps and that's fine, but each step load in a new page (whole reload of the page), is there way to do all those steps using AJAX in one page without reloading the whole page each time?  Thanks.")*

Hello,

1. It will depend on the Payment method that you want to use, but for some payment methods you have a sandbox option or URL that you can use to test your Payment method/credentials/..

2. The PayPal thank you page is the "after_end" file of the "Checkout" view of your front-end template that you can edit via "Hikashop-&gt;Display-&gt;Views".

2.1 You'll be able to access it through the variable $this-&gt;order-&gt;order_id

3. Their is no "Checkout AJAX" option, so for the moment the only solution will be to add every checkout actions in an unique step through your checkout workflow via "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout".

The following user(s) said Thank You: [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mzc1Ni10ZXN0aW5nLXBheW1lbnQtbWV0aG9kcy13aXRob3V0LXJlYWwtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")**
- [![cberry1971's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13211-cberry1971 "View cberry1971's Profile") Topic Author
- [ Offline](/forum/user/13211-cberry1971)

Less More

- Posts: 241
- Thank you received: 5
-
-

10 years 6 months ago [\#236210](#236210) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  Replied by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")* on topic *[Testing payment methods without real payment](/forum/27-checkout/883756-testing-payment-methods-without-real-payment#236210 "Hi,  1. Is there a way to test the scenario of payment method without doing a real payment? actually we would like to test Thank you page for instance and I see that we need to to do real payment each time we would like to see that Thank you page.  2. I see that PayPal does not have a Thank you page, Please correct me if I am wrong?  2.1. If (2.) is yes, so in this case we need to create a &quot;Thank you&quot; page our-self that will be the return url from PayPal site after the payment is completed. after the return from PayPal, is there way to get the order&#95;id of that payment?  3. I see that the scenario of the payment has many steps and that's fine, but each step load in a new page (whole reload of the page), is there way to do all those steps using AJAX in one page without reloading the whole page each time?  Thanks.")*

Hi

1. Actually, we doing test on PayPal and PayPal Pro, Please can you give us more details about sandbox or url to test to those payment methods?

2. do you mean this file: components/com_hikashop/views/checkout/tmpl/after_end.php

2.2. Is (2.) file, used by all payments method (i.e. not only PayPal)?

3. OK. Thanks.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mzc1Ni10ZXN0aW5nLXBheW1lbnQtbWV0aG9kcy13aXRob3V0LXJlYWwtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14290
-
-

10 years 6 months ago [\#236212](#236212) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Testing payment methods without real payment](/forum/27-checkout/883756-testing-payment-methods-without-real-payment#236212 "Hi,  1. Is there a way to test the scenario of payment method without doing a real payment? actually we would like to test Thank you page for instance and I see that we need to to do real payment each time we would like to see that Thank you page.  2. I see that PayPal does not have a Thank you page, Please correct me if I am wrong?  2.1. If (2.) is yes, so in this case we need to create a &quot;Thank you&quot; page our-self that will be the return url from PayPal site after the payment is completed. after the return from PayPal, is there way to get the order&#95;id of that payment?  3. I see that the scenario of the payment has many steps and that's fine, but each step load in a new page (whole reload of the page), is there way to do all those steps using AJAX in one page without reloading the whole page each time?  Thanks.")*

Hi,

1. [ www.hikashop.com/support/documentation/3...form.html#additional](https://www.hikashop.com/support/documentation/32-hikashop-payment-paypal-form.html#additional)

2. Yes

2.2 No. It is used by all the payment methods which redirect to the payment gateway and then back to the website without a "return URL" configured in their settings page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mzc1Ni10ZXN0aW5nLXBheW1lbnQtbWV0aG9kcy13aXRob3V0LXJlYWwtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
