*

Sudo

  • ***
  • 47 posts
Blockchain Payments
« on: October 13, 2017, 09:50:12 PM »
Hi,
Am having trouble with blockchain payments.  It is not upgrading the listings.
It does accept the payment.  Do I use my wallet addr or the blockchain api code?

Thanks!
-Sudo

*

MB Themes

Re: Blockchain Payments
« Reply #1 on: October 14, 2017, 09:34:00 AM »
Hello Sudo,
Is your blockchain api correctly configured?
You use your bitcoin address.

Please go to file:
oc-content/plugins/osclass_pay/index.php

Find line:
Code: [Select]
define('OSP_DEBUG', false);
change it to:
Code: [Select]
define('OSP_DEBUG', true);
It will start sending you email with all payment parameters once payment is done. Please resend us this email. (your mail server must be working)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sudo

  • ***
  • 47 posts
Re: Blockchain Payments
« Reply #2 on: October 15, 2017, 06:02:01 AM »
I did as instructed, did not receive email.  Also, tried to run a bitcoin transaction thru Payza, funds showed in Payza account, listing did not upgrade.

*

MB Themes

Re: Blockchain Payments
« Reply #3 on: October 15, 2017, 06:22:55 PM »
@Sudo,
Ok, lets try it one by one, start with Payza gateway.
I suppose you have debug mode enabled (as instructed above) and you mail server is functional (please check it).
Payza require to have setup IPN. In your account enable IPN and point it to url:

Code: [Select]
http://yoursite.com/oc-content/plugins/osclass_pay/payments/payza/ipn.php
(replace yoursite.com with url to your web).

Try payment again.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sudo

  • ***
  • 47 posts
Re: Blockchain Payments
« Reply #4 on: October 17, 2017, 01:48:02 PM »
Hi,
I set this up, payza is reporting when I do test:
http://onebackpage.com/oc-content/plugins/osclass_pay/payments/payza/ipn.php HTTP response code 500 - The remote server returned an error: (500) Internal Server Error.

I made sure permissions for all the files was set to 755.

thanks,
-Sudo

*

Sudo

  • ***
  • 47 posts
Re: Blockchain Payments
« Reply #5 on: October 17, 2017, 02:35:40 PM »
Resolved issue, permission for plugins directory was set to wrong setting.  Now I can clear transactions using sandbox for Payza,
but when transaction clears in pop up window, does not automatically refresh cart to show nothing in.  If you manually
refresh cart is clear.

*

Sudo

  • ***
  • 47 posts
Re: Blockchain Payments
« Reply #6 on: October 17, 2017, 02:47:08 PM »
Re-tried blockchain and it is still not working properly. 

*

MB Themes

Re: Blockchain Payments
« Reply #7 on: October 17, 2017, 02:51:16 PM »
Resolved issue, permission for plugins directory was set to wrong setting.  Now I can clear transactions using sandbox for Payza,
but when transaction clears in pop up window, does not automatically refresh cart to show nothing in.  If you manually
refresh cart is clear.

Because payment from payza does not need to be completed immediately. It use IPN to ping your site payment is completed. In that time cart will be cleaned.

@Sudo,
Ok, lets try it one by one, start with Payza gateway.
So what happen with blockchain, it complete payment, but does not reflect in your osclass?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sudo

  • ***
  • 47 posts
Re: Blockchain Payments
« Reply #8 on: October 17, 2017, 02:55:37 PM »
yes, blockchain does not reply.  shows cleared in window, but never hits osclass.  also, get no debug email and cant find anything in the logs.

*

MB Themes

Re: Blockchain Payments
« Reply #9 on: October 17, 2017, 03:26:46 PM »
@Sudo
For payza you got logs to your email?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sudo

  • ***
  • 47 posts
Re: Blockchain Payments
« Reply #10 on: October 17, 2017, 03:32:47 PM »
Yes, Payza is coming thru with the email debug logs.  Stripe is as well.

status => 1
array (
  'ap_merchant' => '[email protected]',
  'ap_custfirstname' => 'Merchant',
  'ap_custlastname' => 'Tester',
  'ap_custaddress' => '8484   rue farry',
  'ap_custcity' => 'montreal',
  'ap_custstate' => 'QC',
  'ap_custcountry' => 'CAN',
  'ap_custzip' => 'h9h1g9',
  'ap_custemailaddress' => '[email protected]',
  'apc_1' => 'user,20|itemid,20|email,[email protected]|amount,3|concept,Pay 1 cart items for USD3.00|produc',
  'apc_2' => 't,901x1x20||random,692',
  'apc_3' => '',
  'apc_4' => '',
  'apc_5' => '',
  'apc_6' => '',
  'ap_test' => '1',
  'ap_referencenumber' => 'TESTPAYZAREF_5100',
  'ap_purchasetype' => 'service',
  'ap_amount' => '3',
  'ap_quantity' => '1',
  'ap_currency' => 'USD',
  'ap_description' => 'Pay+1+cart+items+for+USD3.00',
  'ap_itemcode' => '901x1x20',
  'ap_itemname' => 'Listing Promotion (901x1x20)',
  'ap_shippingcharges' => '0',
  'ap_additionalcharges' => '0',
  'ap_taxamount' => '0',
  'ap_discountamount' => '0',
  'ap_totalamount' => '3',
  'ap_transactionstate' => 'Completed',
  'ap_notificationtype' => 'New',
  'ap_ipnversion' => '2',
  'ap_feeamount' => '0',
  'ap_netamount' => '0',
  'ap_transactiontype' => 'purchase',
  'ap_alerturl' => 'http://onebackpage.com/oc-content/plugins/osclass_pay/payments/payza/ipn.php',
  'ap_transactiondate' => '2017-10-17 08:29:18',
  'ap_customeruniqueid' => 'uxmyG10Mmx6nRGNXlMRfQA',
  'ap_status' => 'Success',
  'custom' => 'user,20|itemid,20|email,[email protected]|amount,3|concept,Pay 1 cart items for USD3.00|product,901x1x20||random,692',
  'status' => 1,
)

*

MB Themes

Re: Blockchain Payments
« Reply #11 on: October 17, 2017, 06:19:25 PM »
Ok perfect. I will look into code for blockchain and comes to you.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots