Title: Pengyi Wang's Replies | WordPress.org

---

# Pengyi Wang

  [  ](https://wordpress.org/support/users/rocwing/)

 *   [Profile](https://wordpress.org/support/users/rocwing/)
 *   [Topics Started](https://wordpress.org/support/users/rocwing/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rocwing/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rocwing/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rocwing/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rocwing/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rocwing/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)

1 [2](https://wordpress.org/support/users/rocwing/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/rocwing/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/rocwing/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Does refund feature work?](https://wordpress.org/support/topic/does-refund-feature-work/)
 *  Thread Starter [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/does-refund-feature-work/#post-12875607)
 * Hi [@treibalen](https://wordpress.org/support/users/treibalen/)
    It’s `wc_square_credit_card_charge_captured`,
   or it will try to void the payment, but it will return an error, something like‘…
   can’t find trans_id in this location_id…’
 *     ```
       // if captures are supported and the order has an authorized, but not captured charge, void it instead
       		if ( $this->supports_voids() && ! $this->get_capture_handler()->is_order_captured( $order ) ) {
       			return $this->process_void( $order );
       		}
       ```
   
 * Pengyi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Does refund feature work?](https://wordpress.org/support/topic/does-refund-feature-work/)
 *  Thread Starter [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/does-refund-feature-work/#post-12874217)
 * Hi [@treibalen](https://wordpress.org/support/users/treibalen/) ,
 * Finally I figured it out!
    Our orders are placed through WooCommerce APIs, there
   are three values we need put in meta_data, so Woocommmerce square plugin can 
   use it to refund.
 * But I believe for the code below:
    [https://pastebin.com/jc2j0Y2B](https://pastebin.com/jc2j0Y2B)
   If it can return the real error reason(for example, no trans_id or can’t find
   transactions etc..), it will be very helpful to troubleshot the issue.
 * Regards,
    Pengyi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Does refund feature work?](https://wordpress.org/support/topic/does-refund-feature-work/)
 *  Thread Starter [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/does-refund-feature-work/#post-12869502)
 * Hi [@treibalen](https://wordpress.org/support/users/treibalen/),
 * Thank you for your help!
    Re-connect Square doesn’t work, I’ve done that before.
   I disabled all other plugins on our staging site, it’s still the same issue. 
   We don’t have issues to process the payment, just refund.
 * Do you mean `500 Internal Server Error` is from Square? Do you know if there 
   is a way I can check on Square to see more details for this request, like logs,
   so we can know why it’s an error?
 * Pengyi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Does refund feature work?](https://wordpress.org/support/topic/does-refund-feature-work/)
 *  Thread Starter [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/does-refund-feature-work/#post-12869285)
 * Hi Elvira,
 * When I enable log, it doesn’t show “Could not find original transaction tender.
   Please refund this transaction from your Square dashboard” message anymore, but
   keep show a spin icon.
    The problem is when I go back to check the order, it 
   show ‘Refunded’. But actually it’s not when I check it on our square dashboard.
 * I hope it help to troubleshoot the issue.
 * Thanks,
    Pengyi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Does refund feature work?](https://wordpress.org/support/topic/does-refund-feature-work/)
 *  Thread Starter [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/does-refund-feature-work/#post-12869191)
 * Hi Elvira,
    Thank you for your reply! I followed your instructions, here is what
   I got: [https://pastebin.com/xj8SwyaC](https://pastebin.com/xj8SwyaC) It seems
   just a 500 error Any advice?
 * Thank you very much!
    Pengyi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] thumb nail sizes are different](https://wordpress.org/support/topic/thumb-nail-sizes-are-different/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/thumb-nail-sizes-are-different/#post-3738224)
 * Yes, It’s weird, I’ll check what the problem is.
 * I haven’t added the lightbox feature, maybe add it on the next release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] How can I increase number of portfolio items?](https://wordpress.org/support/topic/how-can-i-increase-number-of-portfolio-items/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/how-can-i-increase-number-of-portfolio-items/#post-3730310)
 * Hi,
 * I’ve released a new version to fix this, please update it.
 * Let me know if you still have problem.
 * rocwing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] error on your settings page](https://wordpress.org/support/topic/error-on-your-settings-page/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-on-your-settings-page/#post-3722652)
 * Hi,
    sorry for late reply.
 * I　released a new version to fix the problem, please update it.
 * Let me know if you have problems.
 * rocwing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] How can I increase number of portfolio items?](https://wordpress.org/support/topic/how-can-i-increase-number-of-portfolio-items/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/how-can-i-increase-number-of-portfolio-items/#post-3730263)
 * Did you add all your portfolio items to your portfolio category?
 * Columns display is dynamic, which depends on the width of your page,and you can
   change the thumbnail sizes to increase the number of columns.
 * Could you show me your website so I can check whether the number of columns can
   be changed to 4?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] Change number of columns](https://wordpress.org/support/topic/change-number-of-columns/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/change-number-of-columns/#post-3728105)
 * Hi,
    It’s dynamic, which depends on the width of your page.
 * Could you show me your website so I can check whether the number of columns can
   be changed to 4?
 * Rocwing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] doesn't work :(](https://wordpress.org/support/topic/doesnt-work-256/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-256/#post-3712409)
 * I have checked it. The javascript and CSS can’t be delivered. It seems conflict
   with your theme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] doesn't work :(](https://wordpress.org/support/topic/doesnt-work-256/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-256/#post-3712393)
 * Hi,
 * I can’t help you if I can’t check your link.
 * rocwing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] Tags don't filter when clicked](https://wordpress.org/support/topic/tags-dont-filter-when-clicked/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/tags-dont-filter-when-clicked/#post-3706357)
 * Hi,
 * I have release a new version to fix your problem, please update.
 * Let me know if you still have problems.
 * rocwing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] Create a Portfolio Page](https://wordpress.org/support/topic/create-a-portfolio-page/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/create-a-portfolio-page/#post-3669832)
 * Hi, it seems the tags can’t be displayed properly, do you use other tag related
   plugin?
    In this case I can’t fix it unless I can debug your website.
 * rocwing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[One Page Portfolio] Create a Portfolio Page](https://wordpress.org/support/topic/create-a-portfolio-page/)
 *  Plugin Author [Pengyi Wang](https://wordpress.org/support/users/rocwing/)
 * (@rocwing)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/create-a-portfolio-page/#post-3669829)
 * Hi, I can’t get here, it display “Drastic Design is undergoing extensive development”
 * rocwing

Viewing 15 replies - 1 through 15 (of 34 total)

1 [2](https://wordpress.org/support/users/rocwing/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/rocwing/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/rocwing/replies/page/2/?output_format=md)