Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

crownbrown

Archived
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rohit Sahay

crownbrown's Achievements

  1. My website is currently setup to charge orders instantaneously. I saw that there is a variable MODULE_PAYMENT_PAYPAL_WPP_TRXTYPE in the configuration table which is set to 'Sale'. Now, I would like to authorize the order and charge later on. To do this I believe, I will have to set MODULE_PAYMENT_PAYPAL_WPP_TRXTYPE='Authorize'. This should approve the amount for the order. The response will have the transaction_id or Authorization_id. Question is do I save this Authorization_id in the orders table so that we can use this Authorization_id in the DoCaptureRequestType transaction. If you can send me code sample for DoCapture, DoVoid and DoReAuthorize will be appreciated. Thanks for your help. Rohit
  2. Hello, I am using paypal pro for the first time. I have generated the username,password. Also, I copied all the necessary paypal PHP files. However, when I click on "PayPal checkout", I get an error. I believe error is happening in paypal_init() function which is in modules\payment\paypal_wpp.php file. I think getCallerServices() function is failing. Can anyone tell me what is the reason???? Thanks for your help.
  3. I have a few questions about the PayPal module that comes with osCommerce 2.2 In the admin section, the PayPal module is shown. I pressed install, but when I went to my online store and tried to check something out, the pay pal paymetn option is not there. Do I have to add to the php code in order to integrate the pay pal module to my store? If so, what do I have to add?
  4. I have very little experience with PHP and I wanted to know where to edit, and what code to write, to hide certain shipping modules based on the time. For Example, after 3:00 PM, the first shipping module should be hidden, after 5:00 PM the second module should be hidden, after 7:00 PM, the third one should be hidden. After 9:00 PM, all the shipping modules should be displayed and unhidden. Any ideas?
×
×
  • Create New...