I’ve been asked to fix a problem a client is having regarding Shopify. Unfortunately we don’t have a programmer who is Shopify savvy, including myself. Here is the situation:
The client is using the Windcave Integration bundle in NetSuite. Evidently a Purchase transaction type is being sent to Shopify rather than Auth.
Shopify Tech support told us a plugin needs to be modified. We said “If you can tell me the name of the plug in, and location, we will fix it.”
Their reply was “It is named pxpay.rb. After making changes you’ll need to submit a Pull Request, which be reviewed and then our Payment Processing Team may merge it and update Shopify to get the TxnType changed. As this out of my team’s scope of support, should you need any further assistance, then please post in the Shopify Dev Forums as our developers are often about to answer questions.” [sic]
pxpay.rb was a link to offsite_payments/lib/offsite_payments/integrations/pxpay.rb at master · activemerchant/offsite_payments · GitHub
I’ve been told “Shopify uses this plug in to go out to the Windcave gateway to run the card. Shopify then posts all of the information back into NetSuite (including the PN/Ref). The Windcave bundle in NetSuite (when the time comes) grabs the PN/Ref and captures the Authorization.”
In the file pxpay.rb, at that link, I found the two places where Purchase should be changed to Auth:
Line 35 (part of @token _parameters = { )
‘TxnType’ => ‘Purchase’,
and line 137 (the middle of these three)
def complete?
@params[‘TxnType’] == ‘Purchase’ && success?
end
I don’t have a clue where the copy of the file is that I need to change, nor how to submit a Pull Request. The file is not in NetSuite.
Can anyone give me any guidance that will help me accomplish this. This is all the information I have.