• Welcome to KonaKart Community Forum. Please login or sign up.
 

configuring the payment module

Started by john_g, November 08, 2007, 09:50:20 am

Previous topic - Next topic

john_g

Hi,

I have configured the payment module (Paypal). It shows up in the payment list when I login as a customer and I could confirm the order. However, while confirming, it does ask me to enter any paypal a/c details. Does it mean, I didn't configure paypal correctly? In that case, what should be the configuration details?

What should be the values for the following fields?

PayPal Status
   
Sort order of display
   
PayPal Payment Zone
   
Callback username
   
Callback Password
   
Callback URL
   
Return URL
   
Cancel URL
   
Test Mode

PayPal Id
   
Transaction Currency

As a administrator, what should I do in order to allow the user to download the product. I have followed all the instructions to configure the digital download. I could see the "download" on the users' page while checking out. What should the Administrator has to do to process the order, so that the user is provided with the download link.

Please, let me know.

Thanks,

John

julie

Hi John,

If you move your mouse over the name of the attribute in the Admin App, you will get a yellow floatover with a short explanation of each attribute. The important ones in order for it to work are :


  • PayPal Id which is the merchant Id received from PayPal . Do you have one of these ? PayPal needs to know this in order to put the received funds into your account.

  • The callback url, callback username and callback passwords are needed in order to get the reply from PayPal. Since the transaction is conducted on the PayPal web site, PayPal sends KonaKart the result through a callback. The callback url should be similar to http://www.konakart.com:8780/konakart/PayPalCallback.do with your details instead of www.konakart.com:8780. You need to verify that the url you specify can actually be reached from the internet. The username and password should be the username and password of a registered KonaKart user since they are used to log into the engine in order to save the transaction details.

  • The return and cancel urls can be left with the default value since host and port should be substituted automatically. They are used by PayPal to send the customer back to the KonaKart web site when the transaction has terminated.

  • Test mode should be set to false for a real transaction. As you can see from the PayPal module source code, in test mode we will send the request to https://www.sandbox.paypal.com/cgi-bin/webscr whereas in non test mode it will be sent to https://www.paypal.com/cgi-bin/webscr



Once the transaction has been paid for, the administrator doesn't have to do anything to make the download link appear. It should appear automatically. The process is that the callback from PayPal will force an order state change and the code in com.konakart.bl.OrderIntegrationMgr (you have the source code for this) will get called which sets up the download link. If the callback doesn't get through then the order state won't be changed and so the link won't appear. If the callback does get through you should see some data in the Admin App under Orders>>Payment Gateway Callbacks.

Good luck,

Julie

iamcp

Hi,
I'm trying to set up the shopping cart using Konakart application but couldnt get the callback to l change the status of the items in the shopping cart, the status is always waiting for payment. 

Here are my entries in the Konakart admin payment screen

Callback username - my email id to login to konakart
   
Callback Password - pass for the above email id to login to konakart
   
Callback URL - http://localhost:8780/kalabh/PayPalCallback.do
   
Return URL http://host:port/kalabh/CheckoutFinished.do
   
Cancel URL http://host:port/kalabh/CatalogCheckoutExternalPaymentErrorPage.do
   
Test Mode true
   
PayPal Id iamcpr_1194558439_biz@gmail.com
   
Transaction Currency USD

How can I change the status to payment has completed.

julie

Hi,

The Callback URL cannot be set to localhost. This URL is used by PayPal to call back into your server so it must be a URL visible from the internet.

Julie

lucky

Julie..

I recently downloaded konakart and i am really impressed with the features. I was trying to integrate PayPal payment gateway and I have following question regarding that.

According to your post
The username and password should be the username and password of a registered KonaKart user since they are used to log into the engine in order to save the transaction details

Can you please let  me where the user name and password should be of admin user?  Do we have any specific role assigned to access engine ? or any registered user id and pwd?

Thanks

julie

Quote
Can you please let  me where the user name and password should be of admin user?  Do we have any specific role assigned to access engine ? or any registered user id and pwd?


Actually we are using the Application engine, so the user can be any user that has registered to use the application.

-Julie