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

#   authorize only and capture option?

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

15 years 9 months ago [\#4575](#4575) by [shelah](/forum/user/603-shelah "View shelah's Profile")  *[authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#4575 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")* was created by *[shelah](/forum/user/603-shelah "View shelah's Profile")*

Hi-

I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net: [ www.authorize.net/support/merchant/Submi...ransaction\_Types.htm](http://www.authorize.net/support/merchant/Submitting_Transactions/Credit_Card_Transaction_Types.htm)

Also, paypal has this option too... just in case if someone is interested in doing this to paypal.
[ www.paypalobjects.com/en\_GB/pdf/PP\_AuthC...IntegrationGuide.pdf](https://www.paypalobjects.com/en_GB/pdf/PP_AuthCapture_IntegrationGuide.pdf)

Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ1NzUtYXV0aG9yaXplLW9ubHktYW5kLWNhcHR1cmUtb3B0aW9uP3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

15 years 9 months ago [\#4576](#4576) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#4576 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

Hi,

If you're asking that, I suppose that it's because you would like to just authorize the transaction during the checkout so that you know that the client has the funds, but then capture the funds when the parcel is ready to be shipped. Is that right ?
Changing authorize.net plugin to do the authorization only during the checkout should be a matter of changing one line in the plugin.
But, then, capturing the payment when the order status is changed will require to create a new function in the plugin to contact the payment gateway as well as adding some code on the order notification function to save the transaction id in the order information so that it can be used in the capturing request to authorize.
You can do it, now it's not just 2 lines of code to add... Otherwise, we would already have added them.

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

15 years 2 months ago [\#24588](#24588) by [jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")  Replied by *[jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24588 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

Hello,

Is there any update on this feature? My boss is used to just having the website just authorize and then he would capture the payment manually. If so what lines of code would need to be added?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ1NzUtYXV0aG9yaXplLW9ubHktYW5kLWNhcHR1cmUtb3B0aW9uP3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

15 years 2 months ago [\#24596](#24596) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24596 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

There is no update for now. So far no one else requested it so it's a low priority.

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

15 years 2 months ago [\#24597](#24597) by [jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")  Replied by *[jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24597 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

Got it. I'm fairly new with this, but do you think it's possible to have authorize.net make a change on their side to allow me to just authorize instead of both authorizing and capturing.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ1NzUtYXV0aG9yaXplLW9ubHktYW5kLWNhcHR1cmUtb3B0aW9uP3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

15 years 2 months ago [\#24600](#24600) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24600 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

No, the modification has to be done in the plugin file plugins/hikashoppayment/authorize.php by changing the line:
$vars["x_type"] = 'AUTH_CAPTURE';

to:
$vars["x_type"] = 'AUTH_ONLY';

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

15 years 2 months ago [\#24603](#24603) by [jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")  Replied by *[jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24603 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

I apologize if I don't fully understand.

So if I modified that line of code like you mentioned, would we be able to log in to authorize.net and capture the payment there?

I don't necessarily need the capture function on my websites back-end. This is the way my manager has been processing payments with our old websites and wants to continue to process payments this way due to the nature of our business.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ1NzUtYXV0aG9yaXplLW9ubHktYW5kLWNhcHR1cmUtb3B0aW9uP3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

15 years 2 months ago [\#24608](#24608) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24608 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

Yes. That's indeed what I propose.

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

15 years 2 months ago [\#24610](#24610) by [jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")  Replied by *[jlopresti](/forum/user/3068-jlopresti "View jlopresti's Profile")* on topic *[Re: authorize only and capture option?](/forum/4-how-to/4575-authorize-only-and-capture-option#24610 "Hi-  I was wondering if there is a particular script I can replace for the authorize.net payment option to change it to authorize only and capture versus authorize and capture. Here are the payment methods according to authorize.net:   www.authorize.net/support/merchant/Submi...ransaction&#95;Types.htm  Also, paypal has this option too... just in case if someone is interested in doing this to paypal.   www.paypalobjects.com/en&#95;GB/pdf/PP&#95;AuthC...IntegrationGuide.pdf  Any chance I can edit the codes in the authorize-end or paypal-end files to incorporate these integrations easily?  Thanks")*

Thank you very much that is exactly what my boss was looking for.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ1NzUtYXV0aG9yaXplLW9ubHktYW5kLWNhcHR1cmUtb3B0aW9uP3RtcGw9bWFya2Rvd24=) 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.186 seconds

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

[](#top)
