Testing payment methods without real payment

  • Posts: 241
  • Thank you received: 5
8 years 7 months ago #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 "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 or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 7 months ago #236164

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->Display->Views".

2.1 You'll be able to access it through the variable $this->order->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->System->Configuration->Checkout".

The following user(s) said Thank You: cberry1971

Please Log in or Create an account to join the conversation.

  • Posts: 241
  • Thank you received: 5
8 years 7 months ago #236210

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 or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 7 months ago #236212

Hi,

1. www.hikashop.com/support/documentation/3...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 or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum